ASP Hosting sale!
1,000MB space, 40GB transfer, 1 SQL Server 2000 db! - $9.95 per month*!
Limited Time Offer!

aspdev | articles | tutorials | forums

ASPdev -> All Articles -> Get the .NET framework version

Get the .NET framework version

Microsoft has released two versions of the .NET framework so far, 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


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


.NET framework version: 1.0.3705

Contact Us