Configuration Changes

- Added a check for a valid configuration file when starting the server manager.
If config file is not valid, then it will delete the config file and shutdown the manager, with a message to restart the manager.
This commit is contained in:
Brett Hewitson 2022-07-16 13:50:46 +10:00
parent 9e52ccbaa1
commit 5fff2abc91
14 changed files with 244 additions and 76 deletions

View file

@ -2447,5 +2447,14 @@ namespace ServerManagerTool {
this["Alert_OnlinePlayerCountChange"] = value;
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("3072")]
public int ServicePointManager_SecurityProtocol {
get {
return ((int)(this["ServicePointManager_SecurityProtocol"]));
}
}
}
}