陷入加载网站的“webbrowser”在c#窗体中控制 [英] Stuck in loading website on "webbrowser" control in c# windows form
问题描述
当我使用以下代码运行带有 https 的网站时,为了安全起见,我会在我面前找到一个方框。 Q1。如何摆脱它?
安全箱图片: - http: //adf.ly/m9r2W [ ^ ]
用于在webbrowser控件中加载网站的代码
When i use the below code to run website with "https" i get a box in front of me for security. Q1. How to get rid of it?
Security Box image :- http://adf.ly/m9r2W[^]
Code using to load website in webbrowser control
private void Form1_Load(object sender, EventArgs e)
{
webBrowser1.Navigate("https://*********");
}
当我点击继续在安全框上时,它不会加载网站并显示webbrowser控件中的以下输出: -
webbrowser的输出: - http:/ /adf.ly/m9sgi [ ^ ]
Q2。如何在c#windows窗体的webbrowser控件的URL中加载https的网站?
提前致谢
When i click continue on security box it does not load the website and shows the following output in the "webbrowser" control:-
Output of webbrowser:-http://adf.ly/m9sgi[^]
Q2. How to load a website with "https" in it's URL in "webbrowser" control in c# windows form?
Thanks in advance
推荐答案
这篇关于陷入加载网站的“webbrowser”在c#窗体中控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!