Click or drag to resize

CefGetGlobalRequestContext Method

Version 98.1.210
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: 98.1.210.0
Syntax
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