Click here to Skip to main content
12,063,909 members (63,261 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as



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

, 3 May 2011 CPOL
Rate this:
Please Sign up or sign in to vote.
//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"


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

charles henington
United States United States
I do not claim to be wrong! I just rarely ever write.

You may also be interested in...

Comments and Discussions

GeneralCheck for .NET using .NET itself? Pin
pranav9525-May-11 21:37
memberpranav9525-May-11 21:37 
Generalreport wrong? it returns the first 3 letters of the drive c:... Pin
charles henington5-May-11 12:05
membercharles henington5-May-11 12:05 
GeneralRe: check reply Pin
charles henington15-May-11 5:29
membercharles henington15-May-11 5:29 
GeneralThis has a slight chance to report wrong when under limited ... Pin
Vercas3-May-11 4:14
memberVercas3-May-11 4:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160204.4 | Last Updated 3 May 2011
Article Copyright 2011 by charles henington
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid