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

SocketAddress.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 the SocketAddress.

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

'Declaration
Public Overrides Function GetHashCode As Integer

Return Value

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

The GetHashCode method returns a hash code of the SocketAddress. 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