Table of Contents

Property CanGetCookiesHandler

Namespace
DotNetBrowser.Net
Assembly
DotNetBrowser.dll

CanGetCookiesHandler

Gets or sets a handler that is used when Chromium engine decides whether cookies can be sent back to the web server.

IHandler<CanGetCookiesParameters, CanGetCookiesResponse> CanGetCookiesHandler { get; set; }

Property Value

IHandler<CanGetCookiesParameters, CanGetCookiesResponse>

Remarks

Use the Allow() method to allow cookies to be sent to the web server.

Use the Deny() method to disallow cookies to be sent to the web server.

If exception occurs inside the handler, then default behavior will be applied - the Allow() method will be used.

Exceptions

ObjectDisposedException

The INetwork object has already been disposed.