Click or drag to resize

CefGetGlobalRequestContext Method

Version 94.4.20
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:
public static IRequestContext GetGlobalRequestContext()

Return Value

Type: IRequestContext
Returns the global request context or null if the RequestContext has not been initialized yet.
See Also