PunycodeDecode(String) Method
Decode a domain name, converting it to a string of Unicode characters.
Definition
Namespace: MimeKit.Encodings
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
The Unicode domain name.
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public string Decode(
string ascii
)Parameters
- ascii String
- The ASCII-encoded domain name.
Return Value
StringThe Unicode domain name.
Implements
IPunycodeDecode(String)Remarks
Decodes a domain name, converting it to Unicode, according to the rules defined by the IDNA standard.