I want to save some custom data into application configuration file and I need to create some custom sections in app.config. Reading custom data from app.config is simple task, but I can’t write information from my programm into app.config.
For finding solution of this problem I create test project.
For reading data from custom section app.config I used information from this article:
First override
IsReadyOnly()in yourCustomConfigSectionto return false.Once you’ve done that you should be able to do something like this (this is for ASP.NET, but it might be transferably):
Give that a try.