WebBrowser DefaultUserAgent Property C# API
Gets or sets the value that the "User-Agent" HTTP header defaults to in Request objects created by this WebBrowser.

Namespace: Facilita.Web
Assembly: clrWebBrowser (in clrWebBrowser.dll) Version: 9.5.8.37 (1.0.0.0)
Syntax

public string DefaultUserAgent { get; set; }

Field Value

The value of the "User-Agent" default HTTP header.
Remarks

Getting this propert is equivalent to calling getDefaultHeaderValue("User-Agent").

DefaultUserAgent = userAgent; is equivalent to setDefaultHeaderValue("User-Agent", userAgent).

See Also