HttpResponseMessage.StatusCode Property

Gets or sets the status code of the HTTP response.

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

public HttpStatusCode StatusCode { get; set; }

Property Value

Type: System.Net.HttpStatusCode
Show: