.NET Framework Directory

  • Thread starter Thread starter Mark mm
  • Start date Start date
M

Mark mm

The Framework dir is
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322

Does anyone know how I can programmatically return the Directory of the
..NET Framework I know how to get the version System.Environment.Version.



To get the Directory I was thinking of using
System.Environment.SystemDirectory etc then using the Version number to
access the version. But this requires moving down from System32 and then
moving into the Microsoft.NET and Framework. But this means that I have
to be sure it is installed here on every machine, is it?

Any other ideas to get this dir in an easier way?
 
Back
Top