ICookieStoreGetAllCookies Method |
Returns all the cookies for given url including HTTP only cookies.
Namespace:
DotNetBrowser.Cookies
Assembly:
DotNetBrowser (in DotNetBrowser.dll) Version: 2.22.1
Syntax Task<IEnumerable<Cookie>> GetAllCookies(
string url = null
)
Parameters
- url (Optional)
- Type: SystemString
The URL associated with the returned cookies.
Return Value
Type:
TaskIEnumerableCookieThe collection of all the cookies or an empty collection when there's no cookies.
Exceptions Exception | Condition |
---|
ObjectDisposedException | The ICookieStore has already been disposed. |
See Also