Click or drag to resize

INetworkCanGetCookiesHandler Property

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

Namespace:  DotNetBrowser.Net
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.16.0
Syntax
C#
IHandler<CanGetCookiesParameters, CanGetCookiesResponse> CanGetCookiesHandler { get; set; }

Property Value

Type: IHandlerCanGetCookiesParameters, CanGetCookiesResponse
Exceptions
ExceptionCondition
ObjectDisposedExceptionThe INetwork object has already been disposed.
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.

See Also