Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static string GetIEVersion()
- {
- using (var regKey = Registry.LocalMachine.OpenSubKey(@"Software\Microsoft\Internet Explorer"))
- {
- if (regKey != null)
- return (string)regKey.GetValue("Version", "Unknown");
- }
- return "Unknown";
- }
Advertisement
Add Comment
Please, Sign In to add comment