CefInitialize Method (CefSettingsBase, Boolean) |
Version 86.0.240
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: 86.0.240.0
Syntax public static bool Initialize(
CefSettingsBase cefSettings,
bool performDependencyCheck
)
public:
static bool Initialize(
CefSettingsBase^ cefSettings,
bool performDependencyCheck
)
Parameters
- cefSettings
- Type: CefSharpCefSettingsBase
CefSharp configuration settings. - performDependencyCheck
- Type: SystemBoolean
Check that all relevant dependencies avaliable, throws exception if any are missing
Return Value
Type:
Booleantrue if successful; otherwise, false.
See Also