CoreWebView2ServerCertificateErrorAction Enum

Specifies the action type when server certificate error is detected to be used in the CoreWebView2ServerCertificateErrorDetectedEventArgs.

Name Value Description
AlwaysAllow 0x0 Indicates to ignore the warning and continue the request with the TLS certificate. This decision is cached for the RequestUri's host and the server certificate in the session.
Cancel 0x1 Indicates to reject the certificate and cancel the request.
Default 0x2 Indicates to display the default TLS interstitial error page to user for page navigations. For others TLS certificate is rejected and the request is cancelled.

Referenced by