When a self-signed certificate is being used for a website and a user visits it using the webview2 control, you can capture the event via the CoreWebView2.ServerCertificateErrorDetected
. Is there some property or setting that can be accesses to check the users decision (what the control uses to keep that decision for other requests going to the same site that they have accepted the risk)?
I know I can use a combo of the above event and the CoreWebView2.WebResourceRequested
to work out that the user accepted the risk and continued, but where is the setting the control uses to stop the certificate errors keep popping up after the risk is accepted?