CefRuntime Class |
Namespace: CefSharp
The CefRuntime type exposes the following members.
Name | Description | |
---|---|---|
LoadCefSharpCoreRuntimeAnyCpu |
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.
| |
SubscribeAnyCpuAssemblyResolver |
When using AnyCPU the architecture specific version of CefSharp.Core.Runtime.dll
needs to be loaded (x64/x86).
This method subscribes to the AssemblyResolve event
for CurrentDomain and loads the 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.
| |
UnsubscribeAnyCpuAssemblyResolver |
Unsubscribe from the AssemblyResolve event
for CurrentDomain that was added in [!:UseAnyCpuAssemblyResolver] |