Click or drag to resize

CefInitialize Method (CefSettingsBase, Boolean, IApp)

Version 94.4.20
Initializes CefSharp with user-provided settings. It's important to note that Initialize/Shutdown MUST be called on your main application thread (typically the UI thread). If you call them on different threads, your application will hang. See the documentation for Cef.Shutdown() for more details.

Namespace:  CefSharp
Assembly:  CefSharp.Core (in CefSharp.Core.dll) Version:
public static bool Initialize(
	CefSettingsBase settings,
	bool performDependencyCheck,
	IApp cefApp


Type: CefSharpCefSettingsBase
CefSharp configuration settings.
Type: SystemBoolean
Check that all relevant dependencies available, throws exception if any are missing
Type: CefSharpIApp
Implement this interface to provide handler implementations. Null if you don't wish to handle these events

Return Value

Type: Boolean
true if successful; otherwise, false.
See Also