Share via


HttpWebResponse.StatusCode Property

Gets the status of the HTTP response, as a number.

Namespace: System.Net
Assembly: System (in system.dll)

Syntax

public HttpStatusCode StatusCode { get; }

Property Value

One of the HttpStatusCode values.

Remarks

For status code values, see HttpStatusCode.

Version Information

Available in the .NET Micro Framework versions 4.0 and 4.1.

See Also

Reference

HttpWebResponse Class
HttpWebResponse Members
System.Net Namespace