'설정'에 해당되는 글 1건

  1. 2016.07.15 app.config 수정 edit
wpf2016. 7. 15. 12:44
private static void UpdateSetting(string key, string value)
{
Configuration configuration = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
configuration.AppSettings.Settings[key].Value = value;
configuration.Save();
ConfigurationManager.RefreshSection("appSettings");
}



Posted by 동동(이재동)