如何从Web页确定主机的安装ASP.NET版本 [英] How to Determine the Installed ASP.NET Version of Host from a Web Page
本文介绍了如何从Web页确定主机的安装ASP.NET版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在Windows上运行的网站共享宿主环境。在他们的控制面板上的共享托管帐户我已经将它设置为使用ASP.NET 3.0版本,但它并没有说3.5 SP1具体。
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 say 3.5 SP1 specifically.
我如何查看已安装的版本,在这里我的网站托管在一个asp.net页面在服务器上运行?
How can I view the installed version running on the server where my website is hosted in an asp.net page?
推荐答案
谢谢!
我刚刚把<%= Environment.Version%>在页面上,并得到2.0.50727.3053
I just dropped <%=Environment.Version%> on a page and got 2.0.50727.3053
这篇关于如何从Web页确定主机的安装ASP.NET版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文