User config file path

string configFilePath = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.PerUserRoamingAndLocal).FilePath;

XP:
%USERPROFILE%\Local Settings\Application Data\[Company Name]\[appdomainname]_[eid]_[hash]\[version]\user.config
Vista,7,8:
%USERPROFILE%\AppData\Local\[Company Name]\[appdomainname]_[eid]_[hash]\[version]\user.config

string configFilePath = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.PerUserRoaming).FilePath;

XP:
%USERPROFILE%\Local Settings\Application Data\[Company Name]\[appdomainname]_[eid]_[hash]\[version]\user.config
Vista,7,8:
%USERPROFILE%\AppData\Roaming\[Company Name]\[appdomainname]_[eid]_[hash]\[version]\user.config

Leave a Reply