From: trey on
Consider a machine with multiple .NET versions installed 2.0.50727 and
1.1.4322. Some web sites use ASP.NET 2.0 and others use 1.1. This can
be changed on right-clicking a web site or virtual directory and then
clicking on Properties and then using the ASP.NET tab, ASP.NET drop
down control.

Is there a way to determine which ASP.NET version is used by each
website by reading a.config file? Is this mapping of website to the
ASP.NET version it is currently using. The command 'aspnet_regiis -lk'
reports this info according to <
version-without-forcing-an-upgrade-on-all-sites.aspx> :

W3SVC/ 1.1.4322.2300
W3SVC/1/ROOT/ 2.0.50727.0
W3SVC/3/root/ 1.1.4322.2300

Where is it obtained from?