NetworkClientDeleteCookiesAsync Method |
Version 93.1.111
Deletes browser cookies with matching name and url or domain/path pair.
Namespace:
CefSharp.DevTools.Network
Assembly:
CefSharp (in CefSharp.dll) Version: 93.1.111.0 (93.1.111.0)
Syntax public Task<DevToolsMethodResponse> DeleteCookiesAsync(
string name,
string url = null,
string domain = null,
string path = null
)
public:
Task<DevToolsMethodResponse^>^ DeleteCookiesAsync(
String^ name,
String^ url = nullptr,
String^ domain = nullptr,
String^ path = nullptr
)
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:
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also