Click or drag to resize
MimeKit

InternetAddressEncoding Property

Gets or sets the character encoding to use when encoding the name of the address.

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

Property Value

Type: 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