There is three quick ways you can find the installed .Net Framework versions on the any given computer.
1. Use IE and JAVA Script to find the user agent string.
This will ONLY works in IE. Open IE and type javascript:alert(navigator.userAgent). The pop-up window will have the information of all installed .Net Framework versions.
2. Check the Registry by yourself
Open RegEdit.exe and navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP
NDP has the major versions of installed .Net Framework software. Expand one of the keys and you can find out full version number.
3. Powershell
Open Poweshell and copy/paste the following script. Thanks Richard for the above script which I found it HERE.
Get-ChildItem 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP' -recurse | Get-ItemProperty -name Version -EA 0 | Where { $_.PSChildName -match '^(?!S)\p{L}'} | Select PSChildName, Version
PS C:\Scripts> .\dotNetFrameworkVersions.ps1
PSChildName Version
----------- -------
v2.0.50727 2.0.50727.4927
v3.0 3.0.30729.4926
Windows Communication Foundation 3.0.4506.4926
Windows Presentation Foundation 3.0.6920.4902
v3.5 3.5.30729.4926
Client 4.5.51641
Full 4.5.51641
Client 4.0.0.0
Enjoy.
No comments:
Post a Comment