I've been using this bit of code for a bit to detect what version of .NET is installed on a system.
http://www.codeproject.com/KB/dotnet/frameworkversiondetection.aspx
I've noticed in the comments a newer version that supported 4.0 has been promised but I didn't see any updates. I did a quick run through myself to update the source to detect .NET 4.0 Full and Client profiles. I haven't fully tested my changes but they do work for my needs.
Source files
No comments:
Post a Comment