| IPunycodeEncode(String) Method |
Encode a Unicode domain name, converting it to an ASCII-safe representation.
Namespace: MimeKit.EncodingsAssembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax string Encode(
string domain
)
Parameters
- domain String
- The Unicode domain name.
Return Value
StringThe ASCII-encoded domain name.
Remarks
Encodes a Unicode domain name, converting it to an ASCII-safe representation
according to the rules defined by the IDNA standard.
See Also