DnsEndPoint::GetHashCode Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns a hash value for a DnsEndPoint.

Namespace:   System.Net
Assembly:  System (in System.dll)

public:
virtual int GetHashCode() override

Return Value

Type: System::Int32

An integer hash value for the DnsEndPoint.

The GetHashCode method returns a hash code of the DnsEndPoint. This value can be used as a key in hash tables.

Universal Windows Platform
Available since 10
.NET Framework
Available since 4.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.1
Return to top
Show: