TnefAttachmentFileName Property

Get the file name of the attachment.

Definition

Namespace: MimeKit.Tnef
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public string? FileName { get; }

Property Value

String
The 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.

See Also