Click or drag to resize

NetworkClientDeleteCookiesAsync Method

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

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