System.Net.HttpStatusCode.Unauthorized Field

Equivalent to HTTP status 401. HttpStatusCode.Unauthorized indicates that the requested resource requires authentication. The WWW-Authenticate header contains the details of how to perform the authentication.

Value: Unauthorized

Syntax

HttpStatusCode Unauthorized

Requirements

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