Webastor - Programming Tips and Tricks

General Category => General Discussion => Topic started by: Otis on March 04, 2015, 01:53:50 PM

Title: Which asp.net version installed?
Post by: Otis on March 04, 2015, 01:53:50 PM
Hi everyone, I'd like to ask you a little problem for the community members, which asp.net version installed Thank you very much for helping me with this.
Title: Re: Asp.net version installed
Post by: Charley on August 29, 2017, 08:36:07 PM
You can use

<%
Response.Write("Version: " + System.Environment.Version.ToString());
%>
That will get the currently running version. You can check the registry for all installed versions at:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP