Five ways Windows looks at the version of the. Net Framework installed on your PC

Source: Internet
Author: User

1. Check the installation file to determine the Framwork version number

Open the Explorer, such as My Computer, and then click "Go" after entering%SystemRoot%\Microsoft.NET\Framework in the Address bar or press ENTER.

In the new folder, look at the subordinate folder name at the beginning of the V Word, and the largest number is the. Net Framework version number on the current computer. If the folder name is v4.0.30319, then the version of the. Net framework installed on this machine is 4.0:

2. JavaScript script to determine the. Net Framework Version

Enter the following command in the address bar of the Web browser and click "Go" or enter

Javascript:alert (navigator.useragent);

In the New Popup dialog box, look at the one with the highest version number behind the. NET CLR, which is the version number of the. NET Framework on the current computer.

3. Detecting the version number of the client. NET Framework

Response.Write (

"<br> Major Version Number:" + Request.Browser.ClrVersion.Major.ToString ()

+ "The minor version of the <br> version number:" + Request.Browser.ClrVersion.Minor.ToString ()

+ "The high 16-bit of the <br> fixed number:" + Request.Browser.ClrVersion.MajorRevision.ToString ()

+ "The lower 16 bits of the <br> fix number:" + Request.Browser.ClrVersion.MinorRevision.ToString ()

+ <br> Build Number section value (build): "+ Request.Browser.ClrVersion.Build.ToString ()

+ "The value of the revision number portion of the <br> version number (Revision):" + Request.Browser.ClrVersion.Revision.ToString ()

);

4, about the framework version number of the problem

What I see on the Internet is the version number obtained by System.Environment.Version, but it is said to get the runtime version number

What is the difference between the runtime version number and the natively installed framework version? My machine is loaded, 3.5sp1 why is the 2.0.50727.3053 this version number displayed after running?

3.5 runs a library or 2. There are only a small number of updates. You get it on the 2003 IIS6. IIS will only show 2 versions after 3.5 has been installed. A 1.0 use. A 2.0.

5, vs2008 how the project was completed, how to view the framework version number

The right-click property of the project file in the Explorer, which has a write-used version number

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.