Body Part BasicFile Name Property
Get the name of the file.
Definition
Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
The name of the file.
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
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.