CefInitialize Method (AbstractCefSettings, Boolean, IBrowserProcessHandler) |
Version 73.1.130
Initializes CefSharp with user-provided settings.
It's important to note that Initialize/Shutdown MUST be called on your main
applicaiton thread (Typically the UI thead). 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: 73.1.130.0
Syntax public static bool Initialize(
AbstractCefSettings cefSettings,
bool performDependencyCheck,
IBrowserProcessHandler browserProcessHandler
)
public:
static bool Initialize(
AbstractCefSettings^ cefSettings,
bool performDependencyCheck,
IBrowserProcessHandler^ browserProcessHandler
)
Parameters
- cefSettings
- Type: CefSharpAbstractCefSettings
CefSharp configuration settings. - performDependencyCheck
- Type: SystemBoolean
Check that all relevant dependencies avaliable, throws exception if any are missing - browserProcessHandler
- Type: CefSharpIBrowserProcessHandler
The handler for functionality specific to the browser process. Null if you don't wish to handle these events
Return Value
Type:
Booleantrue if successful; otherwise, false.
See Also