Click or drag to resize
MimeKit

MailboxAddressEncodeAddrspec Method

Encode an addrspec token according to IDN encoding rules.

Namespace:  MimeKit
Assembly:  MimeKit (in MimeKit.dll) Version: 2.1.0.0
Syntax
C#
public static string EncodeAddrspec(
	string addrspec
)

Parameters

addrspec
Type: SystemString
The addrspec token.

Return Value

Type: String
The encoded addrspec token.
Exceptions
ExceptionCondition
ArgumentNullExceptionaddrspec is null.
Remarks
Encodes an addrspec token according to IDN encoding rules.
See Also