| BodyPartBasicFileName Property |
Get the name of the file.
Namespace: MailKitAssembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax public string FileName { get; }
Property Value
StringThe name of the file.
Remarks First checks for the "filename" parameter on the Content-Disposition header. If
that does not exist, then the "name" parameter on the Content-Type header is used.
Note |
---|
Since the value of the Content-Disposition header is needed, it is
necessary to include the BodyStructure flag when
fetching summary information from an IMailFolder. |
See Also