Click or drag to resize

ICookieAccessFilterCanSaveCookie Method

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

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

Parameters

chromiumWebBrowser
Type: CefSharpIWebBrowser
The ChromiumWebBrowser control
browser
Type: CefSharpIBrowser
the browser object - may be null if originating from ServiceWorker or CefURLRequest
frame
Type: CefSharpIFrame
the frame object - may be null if originating from ServiceWorker or CefURLRequest
request
Type: CefSharpIRequest
the request object - cannot be modified in this callback
response
Type: CefSharpIResponse
the response object - cannot be modified in this callback
cookie
Type: CefSharpCookie
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