CefSettingsBase.UserAgent Property (original) (raw)

CefSettingsBaseUserAgent Property

Version 118.6.80

Value that will be returned as the User-Agent HTTP header. If empty the default User-Agent string will be used. Also configurable using the "user-agent" command-line switch.

Namespace: CefSharp
Assembly: CefSharp.Core (in CefSharp.Core.dll) Version: 118.6.80.0

Syntax

C#

C++

Copy

public string UserAgent { get; set; }

public: property String^ UserAgent { String^ get (); void set (String^ value); }

Property Value

Type: String

See Also

Reference

CefSettingsBase Class

CefSharp Namespace