PeerContact.GetHashCode Method ()


Returns the hash code for a PeerContact instance.

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

public override int GetHashCode()

Return Value

Type: System.Int32

A 32-bit signed integer hash code.

Exception Condition

The PeerContact object has been disposed.

This hash code value is used to programmatically compare instances of this type.

.NET Framework
Available since 3.5
Return to top