Punycode Class
A class for encoding and decoding international domain names.
Definition
Namespace: MimeKit.Encodings
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public class Punycode : IPunycode- Inheritance
- Object Punycode
- Implements
- IPunycode
Remarks
A class for encoding and decoding international domain names.
Constructors
| Punycode | Initialize a new instance of the Punycode class. |
| Punycode(IdnMapping) | Initialize a new instance of the Punycode class. |
Methods
| Decode(String) | Decode a domain name, converting it to a string of Unicode characters. |
| Decode(String, Int32) | Decode a domain name, converting it to a string of Unicode characters. |
| Decode(String, Int32, Int32) | Decode a domain name, converting it to a string of Unicode characters. |
| Encode(String) | Encode a Unicode domain name, converting it to an ASCII-safe representation. |
| Encode(String, Int32) | Encode a Unicode domain name, converting it to an ASCII-safe representation. |
| Encode(String, Int32, Int32) | Encode a Unicode domain name, converting it to an ASCII-safe representation. |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |