user415789
user415789

Reputation:

save application configurations

Is there 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.

Upvotes: 0

Views: 144

Answers (3)

CB.
CB.

Reputation: 60976

Use ConfigurationManager in System.Configuration namespace

Upvotes: 1

ShahidAzim
ShahidAzim

Reputation: 1494

Isolated storage can be used for this purpose:

http://msdn.microsoft.com/en-us/library/cc221360(v=vs.95).aspx

Upvotes: 0

Henk Holterman
Henk Holterman

Reputation: 273774

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".

Upvotes: 0

Related Questions