Bagikan melalui


HttpRequestHeaders.UserAgent Properti

Definisi

Mendapatkan nilai User-Agent header untuk permintaan 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)

Nilai Properti

Nilai User-Agent header untuk permintaan HTTP.

Berlaku untuk