Click or drag to resize

NetworkDeleteCookiesAsync Method

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

Namespace:  CefSharp.DevTools.Network
Assembly:  CefSharp (in CefSharp.dll) Version: 85.3.121.0 (85.3.121.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