CefRuntimeLoadCefSharpCoreRuntimeAnyCpu Method |
Version 105.3.390
When using AnyCPU the architecture specific version of CefSharp.Core.Runtime.dll
needs to be loaded (x64/x86).
This method calls
LoadFile(String) to immediately load CefSharp.Core.Runtime.dll
based on
Is64BitProcess.
This method MUST be called before you call Cef.Initialize, create your first ChromiumWebBrowser instance, basically
before anything CefSharp related happens. This method is part of CefSharp.dll which is an AnyCPU library and
doesn't have any references to the CefSharp.Core.Runtime.dll so it's safe to use.
Namespace:
CefSharp
Assembly:
CefSharp (in CefSharp.dll) Version: 105.3.390.0 (105.3.390.0)
Syntax public static void LoadCefSharpCoreRuntimeAnyCpu(
string basePath = null
)
public:
static void LoadCefSharpCoreRuntimeAnyCpu(
String^ basePath = nullptr
)
Parameters
- basePath (Optional)
- Type: SystemString
The path containing the x64/x86 folders which contain the CefSharp/CEF resources.
If null then AppDomain.CurrentDomain.SetupInformation.ApplicationBase will be used as the path.
(
See Also