How to determine the installed version of an ASP.NET host from a web page

I have a site running in a shared Windows hosting environment. In my control panel for a shared hosting account with me, she is configured to use ASP.NET version 3.0, but she does not say 3.5 SP1.

How to view the installed version running on the server hosting my site on asp.net?

+5
source share
4 answers

Thanks!

I just fell <% = Environment.Version%> on the page and got 2.0.50727.3053

+5
source

@Jon Limjap: , .NET CLR ( ), .NET Framework. ; ,.NET Framework 3.0 3.5 .NET CLR 2.0. , OP .NET 2.0 SP1, Environment.Version, .NET 3.5 SP1, .

+5

- Load, . .

+2

A tip from Brian Boatright, placing it <%=Environment.Version%>on the page and saving it in DotNetVersion.aspx, load it, when testing at the correct URL, approach the world perfectly.

Unfortunately, this was too old a version for me: 1.1.4322.2443

+1
source

All Articles