Share via


HttpRequestHeaders.UserAgent Property

Gets {insert text here}.

Namespace:  System.Net.Http.Headers
Assembly:  System.Net.Http (in System.Net.Http.dll)

Syntax

'Declaration
Public ReadOnly Property UserAgent As HttpHeaderValueCollection(Of ProductInfoHeaderValue)
    Get
'Usage
Dim instance As HttpRequestHeaders 
Dim value As HttpHeaderValueCollection(Of ProductInfoHeaderValue)

value = instance.UserAgent
public HttpHeaderValueCollection<ProductInfoHeaderValue> UserAgent { get; }
public:
property HttpHeaderValueCollection<ProductInfoHeaderValue^>^ UserAgent {
    HttpHeaderValueCollection<ProductInfoHeaderValue^>^ get ();
}
member UserAgent : HttpHeaderValueCollection<ProductInfoHeaderValue>
function get UserAgent () : HttpHeaderValueCollection<ProductInfoHeaderValue>

Property Value

Type: System.Net.Http.Headers.HttpHeaderValueCollection<ProductInfoHeaderValue>

See Also

Reference

HttpRequestHeaders Class

System.Net.Http.Headers Namespace