Tnef AttachmentFile Name Property
Get the file name of the attachment.
Definition
Namespace: MimeKit.Tnef
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
The file name, or if the attachment does not have one.
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public string? FileName { get; }Property Value
StringThe file name, or if the attachment does not have one.
Remarks
Gets the file name of the attachment from the AttachLongFilename property or, if that is not present, from the AttachFilename property.
The file name comes from an untrusted source. It must be sanitized before it is used to create a file.