Use the "StatusCode" property of the WebResponse to check the status of the Http Request
By [)ia6l0 iii
Use the "StatusCode" property of the WebResponse to check the status of the Http Request.
HttpWebResponse webResponse = (HttpWebResponse)webRequest.GetResponse();
Check the StatusCode for a webresponse with the webResponse.StatusCode property
Http webresponse status codes are like HttpStatusCode.OK, HttpStatusCode.Forbidden
Use the "StatusCode" property of the WebResponse to check the status of the Http Request (2202 Views)