Επεξεργασία

Κοινή χρήση μέσω


HttpRequestHeaders.UserAgent Property

Definition

Gets the value of the User-Agent header for an HTTP request.

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)

Property Value

The value of the User-Agent header for an HTTP request.

Applies to