Click or drag to resize

StorageClientSetCookiesAsync Method

Version 118.6.80
Sets given cookies.

Namespace:  CefSharp.DevTools.Storage
Assembly:  CefSharp.Core (in CefSharp.Core.dll) Version: 118.6.80.0
Syntax
public Task<DevToolsMethodResponse> SetCookiesAsync(
	IList<CookieParam> cookies,
	string browserContextId = null
)

Parameters

cookies
Type: System.Collections.GenericIListCookieParam
Cookies to be set.
browserContextId (Optional)
Type: SystemString
Browser context to use when called on the browser endpoint.

Return Value

Type: TaskDevToolsMethodResponse
returns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also