CefGetGlobalRequestContext Method |
Version 87.1.132
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: 87.1.132.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