65.9K
CodeProject is changing. Read more.
Home

A safe way to get the user to check if the .NET framework is installed

starIconstarIconstarIconstarIconstarIcon

5.00/5 (1 vote)

May 3, 2011

CPOL
viewsIcon

12642

//Also you can get the path like this because not everyone uses Drive C:\ as I use Drive F:\ string path = Environment.SystemDirectory.Remove(3) + @"Windows\Microsoft.NET\Framework"

//Also you can get the path like this because not everyone uses Drive C:\ as I use Drive F:\
 
string path = Environment.SystemDirectory.Remove(3) + @"Windows\Microsoft.NET\Framework"