如何获得在Winform的IE浏览器版本的信息? [英] How to get IE version info in Winform?

查看:405
本文介绍了如何获得在Winform的IE浏览器版本的信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发的.NET Framework 3.5的一个WinForm应用程序,使用C#。

I am developing an winform application in .NET framework 3.5, using C#.

在应用程序,我需要显示的IE浏览器版本号,安装在其上运行的机器上。我如何能做到这一点,任何人可以告诉我吗?

In the application I need to display the IE version number, installed on the machine on which it runs. How can I do that, can anybody tell me?

推荐答案

您可以从注册表中读取的版本:

You can read the version from the registry:

var ieVersion = Registry.LocalMachine.OpenSubKey(@"Software\Microsoft\Internet Explorer").GetValue("Version");

这篇关于如何获得在Winform的IE浏览器版本的信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆