Click or drag to resize

AsyncExtensionsVisitAllCookiesAsync Method

Version 94.4.20
Visits all cookies. The returned cookies are sorted by longest path, then by earliest creation date.

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: (
public static Task<List<Cookie>> VisitAllCookiesAsync(
	this ICookieManager cookieManager


Type: CefSharpICookieManager
cookie manager

Return Value

Type: TaskListCookie
A 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