Table of Contents

Method Delete

Namespace
DotNetBrowser.Cookies
Assembly
DotNetBrowser.dll

Deletes one specific cookie. The cookie instance can be received from a list of cookies returned from the GetAllCookies(string) method.

Task Delete(Cookie cookie)

Parameters

cookie Cookie

cookie to delete.

Returns

Task

A task that completes when the cookie was deleted.

Exceptions

ObjectDisposedException

The ICookieStore has already been disposed.