HttpRequestHeaders.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 value of the Authorization
header for an HTTP request.
public:
property System::Net::Http::Headers::AuthenticationHeaderValue ^ Authorization { System::Net::Http::Headers::AuthenticationHeaderValue ^ get(); void set(System::Net::Http::Headers::AuthenticationHeaderValue ^ value); };
public System.Net.Http.Headers.AuthenticationHeaderValue Authorization { get; set; }
public System.Net.Http.Headers.AuthenticationHeaderValue? Authorization { get; set; }
member this.Authorization : System.Net.Http.Headers.AuthenticationHeaderValue with get, set
Public Property Authorization As AuthenticationHeaderValue
Property Value
The value of the Authorization
header for an HTTP request.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.