最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

webview2 is there a setting that holds the user accepted a self-signed certficate? - Stack Overflow

programmeradmin1浏览0评论

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?

发布评论

评论列表(0)

  1. 暂无评论