如何检测已安装Internet Explorer的版本? [英] How do I detect which version of Internet Explorer is installed?

查看:387
本文介绍了如何检测已安装Internet Explorer的版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是Windows注册表的卸载项下寻找最好的方式?
是否有一个微软的API调用,提供此信息是从XP开始?

Is the best way to look under the Uninstall key of the Windows Registry? Is there a Microsoft API call which provides this info and is it supported from XP onwards?

什么是能够检测到Internet Explorer的版本安装在本地计算机上的最佳方式?

What is the best way to detect which version of Internet Explorer is installed on the local machine?

推荐答案

您必须在注册表中查找,但不是在卸载键。代替,
找到 HKLM \\软件\\微软\\ Internet Explorer中的关键和读取命名值版本

You have to look in the registry, but not in uninstall key. Instead, find the key at HKLM\Software\Microsoft\Internet Explorer and read the value named Version.

有关新版本(IE 10及以上),版本是9.x中(例如,IE 10 9.10.something),以及新的 svcVersion 值给出真正的IE浏览器版本。

For newer versions (IE 10 and above), Version is 9.x (for example, IE 10 is 9.10.something), and the new svcVersion value gives the true IE version.

这技术甚至建议由微软;看到 href=\"http://support.microsoft.com/kb/969393\">。

This technique is even recommended by Microsoft; see here.

这篇关于如何检测已安装Internet Explorer的版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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