共用方式為


Updated sample .NET Framework detection code that works with the final version of the .NET Framework 4

Now that the final version of the .NET Framework 4 has been released, I have posted updated versions of my sample .NET Framework detection code.

I previously updated the sample code to be able to detect the .NET Framework 4 client and full profiles.  However, the previous sample code would detect that the .NET Framework 4 was installed even if a pre-release version was installed instead of the final version.  In this update, I’ve added the ability to detect the final version of the .NET Framework 4 and filter out pre-release versions.

You can find information about the sample .NET Framework detection code and download links in the article at https://blogs.msdn.com/astebner/pages/9763379.aspx.