Redigera

Dela via


ServicePoint.GetHashCode Method

Definition

Returns a hash value for a ServicePoint 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

Caution

WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete, and you shouldn't use them for new development. Use HttpClient instead.

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

Applies to