.NET CLR / Framework detection at runtime <p>Is it possible to determine at runtime:</p> <ol> <li><p>Which version of the .NET framework the application is targeting?</p></li> <li><p>If the application is targeting a full or client profile of the framework?</p></li> </ol> <p>I have tried using <code>Environment.Version</code> however this produces highly inaccurate results. Equally, I have been unable to find any solutions for determining which profile is being used.</p>