Click or drag to resize
AsyncExtensionsDeleteCookiesAsync Method
Version 57.0.0
Deletes all cookies that matches all the provided parameters asynchronously. If both url and name are empty, all cookies will be deleted.

Namespace: CefSharp
Assembly: CefSharp (in CefSharp.dll) Version: 57.0.0.0 (57.0.0.0)
Syntax
public static Task<int> DeleteCookiesAsync(
	this ICookieManager cookieManager,
	string url = null,
	string name = null
)

Parameters

cookieManager
Type: CefSharpICookieManager

[Missing <param name="cookieManager"/> documentation for "M:CefSharp.AsyncExtensions.DeleteCookiesAsync(CefSharp.ICookieManager,System.String,System.String)"]

url (Optional)
Type: SystemString
The cookie URL. If an empty string is provided, any URL will be matched.
name (Optional)
Type: SystemString
The name of the cookie. If an empty string is provided, any URL will be matched.

Return Value

Type: TaskInt32

[Missing <returns> documentation for "M:CefSharp.AsyncExtensions.DeleteCookiesAsync(CefSharp.ICookieManager,System.String,System.String)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ICookieManager. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also