CefGetGlobalRequestContext Method |
Version 112.3.0
Gets the Global Request Context. Make sure to Dispose of this object when finished.
The earlier possible place to access the IRequestContext is in IBrowserProcessHandler.OnContextInitialized.
Alternative use the ChromiumWebBrowser BrowserInitialized (OffScreen) or IsBrowserInitializedChanged (WinForms/WPF) events.
Namespace:
CefSharp
Assembly:
CefSharp.Core (in CefSharp.Core.dll) Version: 112.3.0.0
Syntax public static IRequestContext GetGlobalRequestContext()
public:
static IRequestContext^ GetGlobalRequestContext()
Return Value
Type:
IRequestContextReturns the global request context or null if the RequestContext has not been initialized yet.
See Also