Läs på engelska Redigera

Dela via


HttpWebRequest.GetHashCode Method

Definition

Returns a hash value for a WebRequest instance.

C#
public override int GetHashCode();

Returns

An integer hash value.

Remarks

Varning

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

Applies to

Produkt Versioner
.NET Framework 1.1