HttpRequestHeaderCollection.Authorization Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the HttpCredentialsHeaderValue object that represents the value of an Authorization HTTP header on an HTTP request.
public:
property HttpCredentialsHeaderValue ^ Authorization { HttpCredentialsHeaderValue ^ get(); void set(HttpCredentialsHeaderValue ^ value); };
HttpCredentialsHeaderValue Authorization();
void Authorization(HttpCredentialsHeaderValue value);
public HttpCredentialsHeaderValue Authorization { get; set; }
var httpCredentialsHeaderValue = httpRequestHeaderCollection.authorization;
httpRequestHeaderCollection.authorization = httpCredentialsHeaderValue;
Public Property Authorization As HttpCredentialsHeaderValue
Property Value
The value of an Authorization HTTP header on an HTTP request. A null value means that the header is absent.