IWebViewCertificateError EventAwesomium.NET 1.7.6Awesomium.NET
Occurs when an SSL certificate error is encountered while attempting to navigate to a new address.

Namespace: Awesomium.Core
Assembly: Awesomium.Core (in Awesomium.Core.dll) Version:

event CertificateErrorEventHandler CertificateError


Type: Awesomium.CoreCertificateErrorEventHandler

The table below presents the way the CertificateError event is handled, when Handled is set to Default (default):
Wrapper Behavior
WebView No default handling is provided for the windowless WebView. If Handled is set to Default (default), navigation to the Url will be canceled due to the SLL certificate error.
Technology specific WebControls. If Handled is set to Default (default), controls will display their predefined UI.
Applications can handle the CertificateError event either modally or non-modally. Only default or modal handling is officially supported in Awesomium.NET.

The table below shows the methods of handling the CertificateError event:

Setting Handling
Modal Developers should provide a response through the Ignore property, before the event handler exits.
Caution note Caution
The error should only be ignored, if IsOverridable is true.
NotModal (Not officially supported in Awesomium.NET) No response will be provided for the error and navigation to Url will be canceled, unless you call DidOverrideCertificateError.
Caution note Caution
This technique is not officially supported in Awesomium.NET. Therefore, the member above is not directly available through the predefined IWebView wrappers. You will have to cast the wrapper to IWebView, to access this method.
Caution note Caution
The error should only be ignored, if IsOverridable is true.
See Also