Click or drag to resize
MimeKit

IPunycodeDecode(String, Int32) Method

Decode a domain name, converting it to a string of Unicode characters.

Namespace: MimeKit.Encodings
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
string Decode(
	string domain,
	int index
)

Parameters

domain  String
The ASCII-encoded domain name.
index  Int32
A zero-based offset into domain that specifies the start of the substring to convert. The conversion operation continues to the end of the string.

Return Value

String
The Unicode domain name.
Remarks
Decodes a domain name, converting it to Unicode, according to the rules defined by the IDNA standard.
See Also