Click or drag to resize

ICookieAccessFilter.CanSaveCookie Method

Version 89.0.170
Called on the CEF IO thread after a resource response is received.

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 89.0.170.0 (89.0.170.0)
Syntax
bool CanSaveCookie(
	IWebBrowser chromiumWebBrowser,
	IBrowser browser,
	IFrame frame,
	IRequest request,
	IResponse response,
	Cookie cookie
)

Parameters

chromiumWebBrowser
Type: CefSharp.IWebBrowser
The ChromiumWebBrowser control
browser
Type: CefSharp.IBrowser
the browser object - may be null if originating from ServiceWorker or CefURLRequest
frame
Type: CefSharp.IFrame
the frame object - may be null if originating from ServiceWorker or CefURLRequest
request
Type: CefSharp.IRequest
the request object - cannot be modified in this callback
response
Type: CefSharp.IResponse
the response object - cannot be modified in this callback
cookie
Type: CefSharp.Cookie
the cookie object

Return Value

Type: Boolean
Return true if the specified cookie returned with the response can be saved or false otherwise.
See Also