Share via


UserAgent Field

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

The User-Agent HTTP header.

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

Syntax

'Declaration
Public Const UserAgent As String
public const string UserAgent
public:
literal String^ UserAgent
static val mutable UserAgent: string
public const var UserAgent : String

.NET Framework Security

See Also

Reference

HttpKnownHeaderNames Class

System.Net Namespace