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.24.2
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