System.Net.HttpStatusCode.Found Field

Equivalent to HTTP status 302. HttpStatusCode.Found indicates that the requested information is located at the URI specified in the Location header. The default action when this status is received is to follow the Location header associated with the response. When the original request method was POST, the redirected request will use the GET method.

Value: Found

Syntax

HttpStatusCode Found

Remarks

If the HttpWebRequest.AllowAutoRedirect property is false, HttpStatusCode.Found will cause an exception to be thrown.

HttpStatusCode.Found is a synonym for HttpStatusCode.Redirect.

Requirements

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