Bewerken

Share via


IPAddress.GetHashCode Method

Definition

Returns a hash value for an IP address.

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 the IP address. This value can be used as a key in hash tables.

Applies to