Sdílet prostřednictvím


HttpRequestHeaders.UserAgent Vlastnost

Definice

Získá hodnotu hlavičky User-Agent pro požadavek HTTP.

public:
 property System::Net::Http::Headers::HttpHeaderValueCollection<System::Net::Http::Headers::ProductInfoHeaderValue ^> ^ UserAgent { System::Net::Http::Headers::HttpHeaderValueCollection<System::Net::Http::Headers::ProductInfoHeaderValue ^> ^ get(); };
public System.Net.Http.Headers.HttpHeaderValueCollection<System.Net.Http.Headers.ProductInfoHeaderValue> UserAgent { get; }
member this.UserAgent : System.Net.Http.Headers.HttpHeaderValueCollection<System.Net.Http.Headers.ProductInfoHeaderValue>
Public ReadOnly Property UserAgent As HttpHeaderValueCollection(Of ProductInfoHeaderValue)

Hodnota vlastnosti

Hodnota hlavičky User-Agent pro požadavek HTTP.

Platí pro