/// <summary> /// Serialize the System Settings Properties /// </summary> /// <param name="systemSettingsProperties"></param> public static void SetSystemProperties(SystemSettings systemSettingsProperties) { var serializer = new SystemSettingsSerializer(); var configurationFolderPath = GlobalAppSettings.GetConfigFilepath(); if (Directory.Exists(Path.GetFullPath(configurationFolderPath)) == false) { Directory.CreateDirectory(Path.GetFullPath(configurationFolderPath)); } serializer.Serialize(systemSettingsProperties, configurationFolderPath + ServerSetup.Configuration); }