Table of Contents

Property UserAgent

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

UserAgent

Gets or sets the custom user agent string for the WebBrowser control.

string UserAgent { get; set; }

Property Value

string

A string representing the custom user agent string for the WebBrowser control.

Remarks

If your first request should already use the custom user agent please use two step creation and set UserAgent before browser creation.

This is not implemented for IE. For the Edge backend set UserAgent BEFORE backend creation.