MSDN.WhiteKnight - Stack Overflow answers
Ответ на "Получение настроек другого приложения из app.config"
Answer 903367
Как-то так:
var sectgr = otherConfig.SectionGroups["userSettings"]; ClientSettingsSection sect = (ClientSettingsSection)sectgr.Sections["AutoCalcService.Properties.Settings"]; //чтение var element = sect.Settings.Get("RoutesOptimize").Value.ValueXml; textBox1.Text = element.InnerXml; //запись element.InnerText = "True"; sect.SectionInformation.ForceSave = true; otherConfig.Save();
Content is retrieved from StackExchange API.
Auto-generated by ruso-archive tools.