Click or drag to resize
AsyncExtensionsVisitUrlCookiesAsync Method
Version 57.0.0
Visits a subset of the cookies. The results are filtered by the given url scheme, host, domain and path. If includeHttpOnly is true, HTTP-only cookies will also be included in the results. The returned cookies are sorted by longest path, then by earliest creation date.

Namespace: CefSharp
Assembly: CefSharp (in CefSharp.dll) Version: 57.0.0.0 (57.0.0.0)
Syntax
public static Task<List<Cookie>> VisitUrlCookiesAsync(
	this ICookieManager cookieManager,
	string url,
	bool includeHttpOnly
)

Parameters

cookieManager
Type: CefSharpICookieManager

[Missing <param name="cookieManager"/> documentation for "M:CefSharp.AsyncExtensions.VisitUrlCookiesAsync(CefSharp.ICookieManager,System.String,System.Boolean)"]

url
Type: SystemString
The URL to use for filtering a subset of the cookies available.
includeHttpOnly
Type: SystemBoolean
A flag that determines whether HTTP-only cookies will be shown in results.

Return Value

Type: TaskListCookie

[Missing <returns> documentation for "M:CefSharp.AsyncExtensions.VisitUrlCookiesAsync(CefSharp.ICookieManager,System.String,System.Boolean)"]

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