Click or drag to resize

INetworkVerifyCertificateHandler Property

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

Namespace:  DotNetBrowser.Net
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.24.2
Syntax
C#
IHandler<VerifyCertificateParameters, VerifyCertificateResponse> VerifyCertificateHandler { get; set; }

Property Value

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

See Also