Mono Class Library: System.Net.HttpWebResponse Overview | Members

System.Net.HttpWebResponse.StatusCode Property

Gets the status of the response. [Edit]

public HttpStatusCode StatusCode { get; }

Value

A System.Net.HttpStatusCode value. [Edit]

Exceptions

TypeReason
ObjectDisposedExceptionThe current instance has been disposed. [Edit]

Remarks

This property is read-only.

The HttpWebResponse.StatusCode value indicates the status of the HTTP response. The expected values are defined in the System.Net.HttpStatusCode enumeration.

[Edit]

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0