Beispiel #1
0
        public void SaveSettings()
        {
            UserSettingsModel.CurrentVersion = _versionProvider.GetPluginVersion();

            _jsonSettingsFileManager.Save(UserSettingsModel);

            if (UserSettingsModel.UpdateFirewall)
            {
                UpdateFirewallRules();
            }
            _hub.Publish(new RestartSocketEvent());
        }