Click here to Skip to main content
15,867,756 members
Please Sign up or sign in to vote.
1.80/5 (2 votes)
See more: , +
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://*********");
}


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
Posted
Comments
ZurdoDev 8-May-14 9:52am    
What's the error? I'm not going to visit your shortened urls.
Herman<T>.Instance 8-May-14 10:20am    
Wise!
Master@Infinity 9-May-14 2:17am    
error is it shows "404 not found - the resource requested could not be found on this server".
ZurdoDev 9-May-14 7:25am    
OK. Isn't the error pretty clear?
Master@Infinity 10-May-14 0:41am    
but when i try the same thing on web browser like chrome it works just fine.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900