Click or drag to resize

ICookieStoreGetAllCookies Method

Returns all the cookies for given url including HTTP only cookies.

Namespace:  DotNetBrowser.Cookies
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.25.1
Syntax
C#
Task<IEnumerable<Cookie>> GetAllCookies(
	string url = null
)

Parameters

url (Optional)
Type: SystemString
The URL associated with the returned cookies.

Return Value

Type: TaskIEnumerableCookie
The collection of all the cookies or an empty collection when there's no cookies.
Exceptions
ExceptionCondition
ObjectDisposedExceptionThe ICookieStore has already been disposed.
See Also