是否有一个工具,在那里找出哪些.NET Framework是安装在电脑上? [英] Is there a tool out there to find out which .NET framework is installed on a PC?

查看:132
本文介绍了是否有一个工具,在那里找出哪些.NET Framework是安装在电脑上?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道官方的方法是注册表,但这是有点费时。

I know the official way is the registry, but this is kinda timeconsuming.

我要查几个电脑安装的版本,他们都没有的VisualStudio,但他们(可能)中的的版本的.NET框架。

I have to check installed versions on several PC's, none of them have VisualStudio , but all of them (probably) a version of .NET framework.

由于热水可能已经存在,我在哪里可以找到它?

Since the hot water probably exists already, where can i find it?

推荐答案

下面是一个免费的轻量级的工具,快速地做它 - 的。NET版本探测器2007

Here's a free lightweight tool that does it quickly - .NET Version detector 2007

如果你想要做手工,的这个页面显示4-5好的办法做到这一点。该 MS支持页面 presents的方法简单,只要开放该框架文件夹并检查安装版本(文件夹名)!

If you want to do it manually, this page shows 4-5 good ways to do it. The MS Support page presents a method as simple as opening up the Framework folder and checking the versions installed (folder names)!

不过,如果你想以编程方式做到这一点,在的HttpBrowserCapabilities 类提供了一个 GetClrVersions()方法是通过 Request.Browser.GetClrVersions访问()通话。当然,正如其他人所说,你可以随时查询浏览器的navigator.userAgent的属性也通过JavaScript(我认为这会告诉你的.NET版本只能在IE):

However, If you want to do it programmatically, the HttpBrowserCapabilities class offers a GetClrVersions() method that is accessible through the Request.Browser.GetClrVersions() call. Of course, as others have mentioned, you can always query the Navigator.UserAgent property of the Browser too, via Javascript (I think this will show you the .NET versions only in IE):

javascript:alert(navigator.userAgent)

这篇关于是否有一个工具,在那里找出哪些.NET Framework是安装在电脑上?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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