Editare

Partajați prin


HttpRequestHeaders.Authorization Property

Definition

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