是否有一个工具,在那里找出哪些.NET Framework是安装在电脑上?在那里、有一个、工具、电脑

由网友(眼淚的錯↑覺)分享简介:我知道官方的方法是注册表,但这是有点费时。 I know the official way is the registry, but this is kinda timeconsuming. 我要查几个电脑安装的版本,他们都没有的VisualStudio,但他们(可能)中的在的版本的.NET框架。I have t...

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

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)
阅读全文

相关推荐

最新文章