CefInitialize(CefSettingsBase, Boolean, IBrowserProcessHandler) Method |
Version 130.1.90
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: CefSharpAssembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax public static bool Initialize(
CefSettingsBase settings,
bool performDependencyCheck,
IBrowserProcessHandler browserProcessHandler
)
public:
static bool Initialize(
CefSettingsBase^ settings,
bool performDependencyCheck,
IBrowserProcessHandler^ browserProcessHandler
)
Parameters
- settings CefSettingsBase
- CefSharp configuration settings.
- performDependencyCheck Boolean
- Check that all relevant dependencies available, throws exception if any are missing
- browserProcessHandler IBrowserProcessHandler
- The handler for functionality specific to the browser process. Null if you don't wish to handle these events
Return Value
Booleantrue if successful; otherwise, false.
See Also