AsyncExtensionsVisitAllCookiesAsync Method |
Version 87.1.132
Visits all cookies. The returned cookies are sorted by longest path, then by earliest creation date.
Namespace:
CefSharp
Assembly:
CefSharp (in CefSharp.dll) Version: 87.1.132.0 (87.1.132.0)
Syntax public static Task<List<Cookie>> VisitAllCookiesAsync(
this ICookieManager cookieManager
)
public:
[ExtensionAttribute]
static Task<List<Cookie^>^>^ VisitAllCookiesAsync(
ICookieManager^ cookieManager
)
Parameters
- cookieManager
- Type: CefSharpICookieManager
cookie manager
Return Value
Type:
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