INetworkCanSetCookieHandler Property |
Namespace: DotNetBrowser.Net
IHandler<CanSetCookieParameters, CanSetCookieResponse> CanSetCookieHandler { get; set; }
Exception | Condition |
---|---|
ObjectDisposedException | The INetwork object has already been disposed. |
Use the Allow method to allow engine to save the cookie.
Use the Deny method to deny engine to save the cookie. It will not be available via the ICookieStore object.
If exception occurs inside the handler, then default behavior will be applied - the Allow method will be used.