YEncOptionsFileNameEncoding Property

Get or set the filename encoding.

Definition

Namespace: MimeKit.Encodings
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public Encoding FileNameEncoding { get; set; }

Property Value

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

See Also