WebBrowser control that can handle HTTPS

半世苍凉 提交于 2019-12-12 12:27:08

问题


I am searching for a substitute of the WebBrowser control in .NET which can handle HTTPS. This question is similar here on Stack Overflow, but none of these controls offer HTTPS.

btw, just to mention, I tried all these

GeckoFx - development stopped
Se7en - this is actually continued GeckoFx
Webkitdotnet - no one replying on forum

but none of them support HTTPS, so I'm kind of stuck here :/.

Also, to mention, WebBrowser control that comes with .NET framework works just fine with HTTPS, but the reason I can't use it is because my app uses a lot of javascript that IE refuses to render, and for example Firefox (gecko engine) or Chrome (webkit) work just fine.

So, please if someone knows a good control that can do this (can be Webkit or Gecko wrapper, it doesn't mind, as long as it's not an IE wrapper).

Thanks!


回答1:


Since I, apparently, cannot write a comment I'll just drop my 2 cents here.. Beginning with the next release (R14), MozNET (called 'Se7en' in the OP's post), will have support for HTTPS/SSL and the ability to accept/deny certificates.

EDIT: The R15 release will have the SSL handling for sure. I had to hold off on it because of a weird bug.. But, it's coming soon!




回答2:


Your options here seem a bit limited. With IE8 and IE9 the JavaScript is not so bad, but if there is no possibility for your users to upgrade, I would suggest looking at a few things:

  • Mono.WebBrowser
  • Mozilla XulRunner - This is not directly a .NET control, but could be useful anyway.

Update:

I recently ran into this, might be interesting:

  • .Net binding for the Chromium Embedded Framework



回答3:


After long googling I finally ended up using the same as I was using before. So Webkit from http://sourceforge.net/projects/webkitdotnet and I ended up purchasing a SSL certificate for my domain and now all is fine.



来源:https://stackoverflow.com/questions/5592480/webbrowser-control-that-can-handle-https

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!