| PunycodeDecode(String, Int32, Int32) Method |
Decode a domain name, converting it to a string of Unicode characters.
Namespace: MimeKit.EncodingsAssembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax public string Decode(
string ascii,
int index,
int count
)
Parameters
- ascii String
- The ASCII-encoded domain name.
- index Int32
- A zero-based offset into ascii that
specifies the start of the substring to convert. The conversion operation continues
to the end of the string.
- count Int32
- The number of characters to convert in the substring that starts
at the position specified by index in the ascii
string.
Return Value
StringThe Unicode domain name.
Implements
IPunycodeDecode(String, Int32, Int32)Remarks
Decodes a domain name, converting it to Unicode, according to the rules defined by the IDNA standard.
See Also