Click or drag to resize
MimeKit

Punycode Class

A class for encoding and decoding international domain names.
Inheritance Hierarchy
SystemObject
  MimeKit.EncodingsPunycode

Namespace: MimeKit.Encodings
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public class Punycode : IPunycode

The Punycode type exposes the following members.

Constructors
 NameDescription
Public methodPunycode Initialize a new instance of the Punycode class.
Public methodPunycode(IdnMapping) Initialize a new instance of the Punycode class.
Top
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.
Public methodEquals
(Inherited from Object)
Protected methodFinalize
(Inherited from Object)
Public methodGetHashCode
(Inherited from Object)
Public methodGetType
(Inherited from Object)
Protected methodMemberwiseClone
(Inherited from Object)
Public methodToString
(Inherited from Object)
Top
Remarks
A class for encoding and decoding international domain names.
See Also