Click or drag to resize
MimeKit

InternetAddressEncoding Property

Get or set the character encoding to use when encoding the name of the address.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public Encoding Encoding { get; set; }

Property Value

Encoding
The character encoding.
Exceptions
ExceptionCondition
ArgumentNullExceptionvalue is null.
Remarks
The character encoding is used to convert the Name property, if it is set, to a stream of bytes when encoding the internet address for transport.
See Also