Hello everyone,
I am trying to get the directory of application root folder.
Please provide sample of code.
Thanks,
How to get application Directory using C#-Csharp
Ask by Anonymous User
Updated 23 Apr 2011
{
string configPath = AppDomain.CurrentDomain.SetupInformation.ConfigurationFile;
FileInfo configFile = new FileInfo(configPath);
return configFile.DirectoryName;
}