Table of Contents

Method SetDefaultUserAgent

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

SetDefaultUserAgent(string)

Sets the default user agent that will be used for the new WebBrowser instances.

void SetDefaultUserAgent(string value)

Parameters

value string

Default user agent.

Remarks

If you specify non empty value here, WebBrowser will use it when web page asks for the user agent type instead of value which is normally returned by the WebBrowser backend.