Deletes all cookies that matches all the provided parameters asynchronously. If both url and name are empty, all cookies will be deleted.
Namespace: CefSharpCefSharp (in CefSharp.dll) Version: 118.6.80.0 (118.6.80.0)
Syntaxpublic static Task<int> DeleteCookiesAsync( this ICookieManager cookieManager, string url = null, string name = null )
public: [ExtensionAttribute] static Task<int>^ DeleteCookiesAsync( ICookieManager^ cookieManager, String^ url = nullptr, String^ name = nullptr )Parameters
Type:
TaskInt32Returns -1 if a non-empty invalid URL is specified, or if cookies cannot be accessed; otherwise, a task that represents the delete operation. The value of the TResult will be the number of cookies that were deleted or -1 if unknown.
Usage NoteIn 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 AlsoRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4