CefInitialize Method (AbstractCefSettings) |
Version 75.1.140
Initializes CefSharp with user-provided settings.
It's important to note that Initialize and 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: 75.1.140.0
Syntax public static bool Initialize(
AbstractCefSettings cefSettings
)
public:
static bool Initialize(
AbstractCefSettings^ cefSettings
)
Parameters
- cefSettings
- Type: CefSharpAbstractCefSettings
CefSharp configuration settings.
Return Value
Type:
Booleantrue if successful; otherwise, false.
See Also