GetHashCode Method
Collapse the table of content
Expand the table of content

IPAddress.GetHashCode Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Returns a hash value for an IP address.

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

public override int GetHashCode()

Return Value

Type: System.Int32
An integer hash value for the IP address.

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft