Click or drag to resize
MimeKit

IPunycode Interface

An interface for encoding and decoding international domain names.

Namespace: MimeKit.Encodings
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public interface IPunycode

The IPunycode type exposes the following members.

Methods
 NameDescription
Public methodDecode(String) Decode a domain name, converting it to a string of Unicode characters.
Public methodDecode(String, Int32) Decode a domain name, converting it to a string of Unicode characters.
Public methodDecode(String, Int32, Int32) Decode a domain name, converting it to a string of Unicode characters.
Public methodEncode(String) Encode a Unicode domain name, converting it to an ASCII-safe representation.
Public methodEncode(String, Int32) Encode a Unicode domain name, converting it to an ASCII-safe representation.
Public methodEncode(String, Int32, Int32) Encode a Unicode domain name, converting it to an ASCII-safe representation.
Top
Remarks
An interface for encoding and decoding international domain names.
See Also