WebView.UserAgent Property

Definition

Gets or sets the user agent string that this WebView object uses.

public:
 property System::String ^ UserAgent { System::String ^ get(); void set(System::String ^ value); };
public string UserAgent { get; set; }
member this.UserAgent : string with get, set
Public Property UserAgent As String

Property Value

Implements

Remarks

The default value is the default User Agent of the underlying platform browser, or null if it cannot be determined. If the parameter is null the User Agent will not be updated and the current User Agent will remain.

Applies to