IdnMapping::GetHashCode Method ()
Returns a hash code for this IdnMapping object.
Assembly: mscorlib (in mscorlib.dll)
Return Value
Type: System::Int32One of four 32-bit signed constants derived from the properties of an IdnMapping object. The return value has no special meaning and is not suitable for use in a hash code algorithm.
Override the GetHashCode method if your application needs to implement a meaningful hash code algorithm.
The following example assumes that a single string can contain multiple email addresses separated by spaces. It removes the local part and the @ character from each email address, and passes the resulting domain name to the GetAscii(String^, Int32) or GetAscii(String^, Int32, Int32) method to create a Punycode domain name. The GetUnicode(String^, Int32, Int32) method then converts the Punycode domain name back into the original domain name.
Available since 10
.NET Framework
Available since 2.0