Click here to Skip to main content
15,888,802 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am using IE version 11.

But When I upload a website through webbrowser control, I can see that through the following code my webBrowser using IE 9.
C#
private string GetIEVersion()
       {
           string key = @"Software\Microsoft\Internet Explorer";
           Microsoft.Win32.RegistryKey dkey = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(key, false);
           string data = dkey.GetValue("Version").ToString();
           return data;
       }


This function return data equal 9.11.9600.17420.

So how can I upgrade my webBrowser from 9 to 11 ?
Posted

1 solution

A quick Google for "webbrowser control ie version" comes up with this[^].

That took all of 5 seconds to find.
 
Share this answer
 

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