AsyncExtensionsVisitAllCookiesAsync Method |
Version 130.1.90
Visits all cookies. The returned cookies are sorted by longest path, then by earliest creation date.
Namespace: CefSharpAssembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax public static Task<List<Cookie>> VisitAllCookiesAsync(
this ICookieManager cookieManager
)
public:
[ExtensionAttribute]
static Task<List<Cookie^>^>^ VisitAllCookiesAsync(
ICookieManager^ cookieManager
)
Parameters
- cookieManager ICookieManager
- cookie manager
Return Value
TaskListCookieA task that represents the VisitAllCookies operation. The value of the TResult parameter contains a List of cookies
or null if cookies cannot be accessed.
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