GetHashCode Method

IPAddress::GetHashCode Method ()

 

Returns a hash value for an IP address.

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

public:
virtual int GetHashCode() override

Return Value

Type: System::Int32

An integer hash value.

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

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.1
Return to top
Show:
© 2016 Microsoft