.Net application settings path

By default, in a Windows application, the application is saved in this directory:

%USERPROFILE%\Local Settings\Application Data\<Company Name>\<appdomainname>_<eid>_<hash>\<version>\user.config

Can I change the path to save the user.config file? For example, save it in a local folder?

+5
source share
1 answer

You can, if you created your own ApplicationSettingsBase class for managing application settings.

For more information, see Application Settings Architecture .

, . ( ) Vista Windows 7, . , , - ...

+8

All Articles