Enum CoreWebView2ServerCertificateErrorAction
Specifies the action type when server certificate error is detected to be used in the CoreWebView2ServerCertificateErrorDetectedEventArgs.
public enum CoreWebView2ServerCertificateErrorAction
  Fields
AlwaysAllow = 0Indicates 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 = 1Indicates to reject the certificate and cancel the request.
Default = 2Indicates to display the default TLS interstitial error page to user for page navigations. For others TLS certificate is rejected and the request is cancelled.