溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

《CLR Via C#》 如何查看計算機是否安裝了.NET Framework及其版本

發(fā)布時間:2020-06-19 14:56:47 來源:網絡 閱讀:919 作者:lsieun 欄目:編程語言

一、 如何查看計算機有沒有安裝.NET Framework呢?

You can tell if the .NET Framework has been installed by looking for the MSCorEE.dll file in the %SystemRoot%\System32 directory. The existence of this file tells you that the .NET Framework is installed.

《CLR Via C#》 如何查看計算機是否安裝了.NET Framework及其版本


二、如何查看計算機上都安裝了哪些版本的.NET Framework?

However, several versions of the .NET Framework can be installed on a single machine simultaneously【多個.NET Framework版本可以并存】. If you want to determine exactly which versions of the .NET Framework are installed, examine the subdirectories under the following directories.【在以下位置可以查看.NET Framework版本信息】

%SystemRoot%\Microsoft.NET\Framework 

%SystemRoot%\Microsoft.NET\Framework64

《CLR Via C#》 如何查看計算機是否安裝了.NET Framework及其版本


《CLR Via C#》 如何查看計算機是否安裝了.NET Framework及其版本

The .NET Framework SDK includes a command-line utility called CLRVer.exe that shows all of the CLR versions installed on a machine【查看.NET Framework版本的另一種方式:CLRVer.exe】. This utility can also show which version of the CLR is being used by processes currently running on the machine by using the –all switch or passing the ID of the process you are interested in.

C:\ProgramFiles (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\x64下找到了CLRVer.exe文件。

《CLR Via C#》 如何查看計算機是否安裝了.NET Framework及其版本



向AI問一下細節(jié)

免責聲明:本站發(fā)布的內容(圖片、視頻和文字)以原創(chuàng)、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI