Click or drag to resize

INetworkUserAgent Property

Gets the default user-agent string.

Namespace:  DotNetBrowser.Net
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.23.2
Syntax
C#
string UserAgent { get; }

Property Value

Type: String
The default user-agent string.
Exceptions
ExceptionCondition
ObjectDisposedExceptionThe INetwork object has already been disposed.
Remarks

The default user-agent string can be configured through the UserAgent property. If the default user-agent string has not been specified, then this method returns a string obtained from the Chromium engine.

See Also