Click or drag to resize

NetworkClientDeleteCookiesAsync Method

Version 130.1.90
Deletes browser cookies with matching name and url or domain/path/partitionKey pair.

Namespace: CefSharp.DevTools.Network
Assembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax
public Task<DevToolsMethodResponse> DeleteCookiesAsync(
	string name,
	string url = null,
	string domain = null,
	string path = null,
	CookiePartitionKey partitionKey = null
)

Parameters

name  String
Name of the cookies to remove.
url  String  (Optional)
If specified, deletes all the cookies with the given name where domain and path matchprovided URL.
domain  String  (Optional)
If specified, deletes only cookies with the exact domain.
path  String  (Optional)
If specified, deletes only cookies with the exact path.
partitionKey  CookiePartitionKey  (Optional)
If specified, deletes only cookies with the the given name and partitionKey whereall partition key attributes match the cookie partition key attribute.

Return Value

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