Export (0) Print
Expand All

IPAddress.GetHashCode Method

Returns a hash value for an IP address.

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

'Declaration
Public Overrides Function GetHashCode As Integer

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft