Можно сделать так. Правда код на С++, но особой разницы нет.
Читаем конфиг
Меняем значенияКод:configxml = gcnew XmlDocument(); configxml->Load(configfilepath);
Сохраняем конфигиКод:void Setup::updateConfig(String^ xpath, String^ xvalue) { if (configxml->SelectSingleNode(xpath) != nullptr) configxml->SelectSingleNode(xpath)->InnerText = HttpUtility::HtmlEncode(xvalue); }
Ну а читать можно через обычный this->pluginConfig->readPluginField (...);Код:configxml->Save(configfilepath));