Hi,
You can get the path using Configuration Management API.
Configuration config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.PerUserRoamingAndLocal);
Console.WriteLine("Local user config path: {0}", config.FilePath);
You can get more information about setting in this blog: http://blogs.msdn.com/rprabhu/articles/433979.aspx
The second Q/A tells about user data path.
Best regards,
Ling Wang
Please remember to click “Mark as Answer�on the post that helps you, and to click “Unmark as Answer�if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.