Table of Contents

Property VerifyCertificateHandler

Namespace
DotNetBrowser.Net
Assembly
DotNetBrowser.dll

VerifyCertificateHandler

Gets or sets a handler that is used to verify the SSL certificate provided by the web server.

IHandler<VerifyCertificateParameters, VerifyCertificateResponse> VerifyCertificateHandler { get; set; }

Property Value

IHandler<VerifyCertificateParameters, VerifyCertificateResponse>

Remarks

Use the Valid() method if the SSL certificate should be accepted.

Use the Invalid() method if the SSL certificate must be rejected.

Use the Default() method to let Chromium decide whether SSL certificate should be accepted or rejected.

If this method throws an exception, then default behavior will be applied - the Default() method will be used.

Exceptions

ObjectDisposedException

The INetwork object has already been disposed.