Response Result Property C# API
Gets the HTTP status code received from the server when this Response was served.

Namespace: Facilita.Web
Assembly: clrWebBrowser (in clrWebBrowser.dll) Version: 9.4.0.26 (1.0.0.0)
Syntax

public HttpStatus Result { get; }

Field Value

The HTTP status code received from the server.
Remarks

The most common status code is 200 OK, although other codes between 200 and 299 also indicate success.
Examples

The following example demonstrates checking whether the HTTP status code indicates that the page was retrieved successfully.
if (!response.Result.IsSuccess)
{
    Error(response.ResultString);
}
See Also