NetworkClientGetCookiesAsync Method |
Version 106.0.290
Returns all browser cookies for the current URL. Depending on the backend support, will return
detailed cookie information in the `cookies` field.
Namespace:
CefSharp.DevTools.Network
Assembly:
CefSharp (in CefSharp.dll) Version: 106.0.290.0 (106.0.290.0)
Syntax public Task<GetCookiesResponse> GetCookiesAsync(
string[] urls = null
)
public:
Task<GetCookiesResponse^>^ GetCookiesAsync(
array<String^>^ urls = nullptr
)
Parameters
- urls (Optional)
- Type: SystemString
The list of URLs for which applicable cookies will be fetched.If not specified, it's assumed to be set to the list containingthe URLs of the page and all of its subframes.
Return Value
Type:
TaskGetCookiesResponsereturns System.Threading.Tasks.Task<GetCookiesResponse>
See Also