Click or drag to resize

CefGetBlockingCookieManager Method

Version 67.0.0
Returns a cookie manager that neither stores nor retrieves cookies. All usage of cookies will be blocked including cookies accessed via the network (request/response headers), via JavaScript (document.cookie), and via CefCookieManager methods. No cookies will be displayed in DevTools. If you wish to only block cookies sent via the network use the IRequestHandler CanGetCookies and CanSetCookie methods instead.

Namespace:  CefSharp
Assembly:  CefSharp.Core (in CefSharp.Core.dll) Version: 67.0.0.0
Syntax
public static ICookieManager GetBlockingCookieManager()

Return Value

Type: ICookieManager
A blocking cookie manager
See Also