How to Determine the Installed ASP.NET Version of Host from a Web Page

后端 未结 4 1917
孤城傲影
孤城傲影 2021-01-19 03:19

I have a site running in a Windows shared hosting environment. In their control panel for the shared hosting account I have it set to use ASP.NET version 3.0 but it doesn\'t

4条回答
  •  攒了一身酷
    2021-01-19 03:46

    @Jon Limjap: Unfortunately, this tells you the .NET CLR (runtime library) version, not the version of the .NET Framework. These two version numbers are not always the same; in particular, the .NET Framework 3.0 and 3.5 both use the .NET CLR 2.0. So the OP may indeed have only .NET 2.0 SP1, as the Environment.Version indicates, or he may also have the .NET 3.5 SP1 which he is looking for.

提交回复
热议问题