AsyncExtensionsVisitAllCookiesAsync Method |
Version 112.3.0
Visits all cookies. The returned cookies are sorted by longest path, then by earliest creation date.
Namespace:
CefSharp
Assembly:
CefSharp (in CefSharp.dll) Version: 112.3.0.0 (112.3.0.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