save application configurations
Is there开发者_Go百科 a way to save application configurations and settings that user have customized in a way like we use the app.config
file?
the app.config
file is read-only so I cannot add keys or edit values in it.
I want something easy to use that have add or edit keys and values just like app.config
.
users customize their settings in visual forms and then the program should store it.
Use ConfigurationManager
in System.Configuration namespace
The normal app.config
is only read-only to the normal user, but a shadow is written to the user's data folders when you save a User setting.
But you may have to expand on "Add keys".
Isolated storage can be used for this purpose:
http://msdn.microsoft.com/en-us/library/cc221360(v=vs.95).aspx
精彩评论