Possible Duplicate:
How to detect what .NET Framework versions and service packs are installed?
Checking the available .NET framework on a client using C++
Is there a deterministic and straightforward way to detect if a certain version (or higher) of the .NET Framework is installed on a Windows machine without using the .NET Framework itself?
How would one go about implementing it?
Example code would be appreciated.