How to get the .NET framework version that my website is running on?
Microsoft has released two versions of the .NET framework already, and
sometimes might be useful to know which version of the framework is your web
host running. You can obtain this information easily with ASP.NET and here is
how.
Create a new ASP.NET file and call it framework_version.aspx or any other name
you want. Copy and paste the following code there:
<%@ Page Language="VB" EnableSessionState="False" EnableViewState="False"
Trace="False" Debug="False"%>
<script language="VB" runat=server>
Sub Page_Load(Sender as Object, E as EventArgs)
Response.Write(".NET framework version: " & System.Environment.Version)
End Sub
</script>
Upload this to your web hosting account and then load the page in your browser
and you will see something like:
.NET framework version: 1.1.4322.573
or
.NET framework version: 1.0.3705
|