A while back I posted some sample code in C++ that can be used to detect whether or not the .NET Framework 1.0 or 1.1 is installed, and if so, what service pack is installed. I’ve been meaning to update the code to detect 2.0. Now that the final version number for the .NET Framework 2.0 has been locked to v2.0.50727, I don’t have any excuse to put this work off any longer. Plus I got an email from a customer asking about this detection, and that finally provided the motivation I needed to do this. You can find updated detection code for the .NET Framework that includes 2.0 at this location. Hope this helps!