Click or drag to resize

ChromiumWebBrowser Constructor

Version 67.0.0
Create a new OffScreen Chromium Browser. If you use LegacyJavascriptBindingEnabled = true then you must set automaticallyCreateBrowser to false and call CreateBrowser(IntPtr, BrowserSettings) after the objects are registered.

Namespace:  CefSharp.OffScreen
Assembly:  CefSharp.OffScreen (in CefSharp.OffScreen.dll) Version: 67.0.0.0 (67.0.0.0)
Syntax
public ChromiumWebBrowser(
	string address = "",
	BrowserSettings browserSettings = null,
	RequestContext requestContext = null,
	bool automaticallyCreateBrowser = true
)

Parameters

address (Optional)
Type: System.String
Initial address (url) to load
browserSettings (Optional)
Type: CefSharp.BrowserSettings
The browser settings to use. If null, the default settings are used.
requestContext (Optional)
Type: CefSharp.RequestContext
See RequestContext for more details. Defaults to null
automaticallyCreateBrowser (Optional)
Type: System.Boolean
automatically create the underlying Browser
Exceptions
ExceptionCondition
InvalidOperationExceptionCef::Initialize() failed
See Also