Welcome to MSDN Blogs Sign in | Join | Help

November 2008 - Posts

How to get the ProgramFiles folder

While writing a code, I had a requirement to use the programfiles folder to pull out some files from there. Here is the code to get it: Console.WriteLine(System.Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles));
Posted by Deepak Verma | 1 Comments
Filed under:

Get Apppool Framework version

I would like to share the following code snippet. This is to get the framework version that is used for a managed applications in the application pool of IIS 7.0 namespace iistest { class Program { static void Main( string [] args) { Program p = new Program();
Posted by Deepak Verma | 1 Comments
Filed under: ,
 
Page view tracker