YEnc OptionsFile Name Encoding Property
Get or set the filename encoding.
Definition
Namespace: MimeKit.Encodings
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
The filename encoding.
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public Encoding FileNameEncoding { get; set; }Property Value
EncodingThe filename encoding.
Remarks
The format does not declare a charset. Latin-1 is the default, preserving every filename byte.
Both reading and writing use exception fallbacks rather than silently replacing characters.
Exceptions
| ArgumentNullException | The value is . |