CefGetGlobalCookieManager Method |
Version 71.0.0
Returns the global cookie manager. By default data will be stored at CefSettings.CachePath if specified or in memory otherwise.
Using this method is equivalent to calling Cef.GetGlobalRequestContext().GetDefaultCookieManager()
The earlier possible place to access the ICookieManager 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: 71.0.0.0
Syntax public static ICookieManager GetGlobalCookieManager()
public:
static ICookieManager^ GetGlobalCookieManager()
Return Value
Type:
ICookieManagerA the global cookie manager or null if the RequestContext has not yet been initialized.
See Also