Click or drag to resize

NetworkClientDeleteCookiesAsync Method

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

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

Parameters

name
Type: SystemString
Name of the cookies to remove.
url (Optional)
Type: SystemString
If specified, deletes all the cookies with the given name where domain and path matchprovided URL.
domain (Optional)
Type: SystemString
If specified, deletes only cookies with the exact domain.
path (Optional)
Type: SystemString
If specified, deletes only cookies with the exact path.

Return Value

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