ApplicationSettingsBase.Save() -> where?

  • Thread starter Thread starter Rainer Queck
  • Start date Start date
R

Rainer Queck

Hi NG,

Using .Net 2.0 I derived my own settings class from ApplicationSettingsBase
with just one string property to learn the usage of "settings". It works
fine, I can also modify and save/reload the settings.
Now I wonder, where the settings are save ? Are the properties saved to a
file, and if yes whats its name?

I would also appreciate some links on how to use "ApplicationSettingsBase"
in a correct way.

Thanks for hints.
Rainer
 
here is some info i found on the msdn2
Application-scoped settings and the default user-scoped settings are stored
in a file named application.exe.config, which is created in the same
directory as the executable file. Application configuration settings are
read-only. Specific user data is stored in a file named username.config,
stored under the user's home directory. If roaming profiles are enabled, two
versions of the user configuration file could exist. In such a case, the
entries in the roaming version take precedence over duplicated entries in the
local user configuration file.

you can read the it in here:
http://msdn2.microsoft.com/library/system.configuration.localfilesettingsprovider.aspx
hope this was helpfull
Regards,
Rotem
 
Back
Top