Click here to Skip to main content
Click here to Skip to main content
Alternative Tip/Trick

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"

License

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

Share

About the Author

charles henington

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

Comments and Discussions

 
GeneralCheck for .NET using .NET itself? Pinmemberpranav9525-May-11 20:37 
Generalreport wrong? it returns the first 3 letters of the drive c:... Pinmembercharles henington5-May-11 11:05 
GeneralRe: check reply Pinmembercharles henington15-May-11 4:29 
GeneralThis has a slight chance to report wrong when under limited ... PinmemberVercas3-May-11 3:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    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 | Mobile
Web04 | 2.8.141022.2 | Last Updated 3 May 2011
Article Copyright 2011 by charles henington
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid