private SettingsProtectionSingleton() { config = SettingsProtectionSettings.Default; //bring in settings from any previous version if (config.NeedUpgrade) { //see http://stackoverflow.com/questions/3498561/net-applicationsettingsbase-should-i-call-upgrade-every-time-i-load config.Upgrade(); config.NeedUpgrade = false; config.Save(); } }