CefGetGlobalCookieManager Method |
Version 75.1.140
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().GetCookieManager()
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: 75.1.140.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