AuthenticationHeaderValue Class
Represents authentication information in Authorization, ProxyAuthorization, WWW-Authenticate, and Proxy-Authenticate header values.
Namespace: System.Net.Http.Headers
Assembly: System.Net.Http (in System.Net.Http.dll)
The AuthenticationHeaderValue type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | AuthenticationHeaderValue(String) | Initializes a new instance of the AuthenticationHeaderValue class. |
![]() ![]() | AuthenticationHeaderValue(String, String) | Initializes a new instance of the AuthenticationHeaderValue class. |
| Name | Description | |
|---|---|---|
![]() ![]() | Equals | Determines whether the specified Object is equal to the current AuthenticationHeaderValue object. (Overrides Object.Equals(Object).) |
![]() ![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() | GetHashCode | Serves as a hash function for an AuthenticationHeaderValue object. (Overrides Object.GetHashCode().) |
![]() ![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() ![]() | Parse | Converts a string to an AuthenticationHeaderValue instance. |
![]() ![]() | ToString | Returns a string that represents the current AuthenticationHeaderValue object. (Overrides Object.ToString().) |
![]() ![]() ![]() | TryParse | Determines whether a string is valid AuthenticationHeaderValue information. |
| Name | Description | |
|---|---|---|
![]() ![]() | ICloneable.Clone | Creates a new object that is a copy of the current AuthenticationHeaderValue instance. |
The AuthenticationHeaderValue class provides support for the Authorization, ProxyAuthorization, WWW-Authenticate, and Proxy-Authenticate HTTP header values as defined in RFC 2616 by the IETF.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.






