Edit

Share via


Socket.GetHashCode Method

Definition

Returns a hash value for a Socket instance.

public:
 override int GetHashCode();
public override int GetHashCode ();
override this.GetHashCode : unit -> int
Public Overrides Function GetHashCode () As Integer

Returns

An integer hash value.

Remarks

The GetHashCode method returns a hash code of this instance. This value can be used as a key in hash tables.

Applies to