Ejemplo n.º 1
0
        /// <summary>
        /// Saves the current settings to the specified file.
        ///
        /// You must implement WriteSettings for any data to be written.
        /// </summary>
        public void Save()
        {
            UserSettingsWriter writer = new UserSettingsWriter(EncryptionKey);

            WriteSettings(writer);
            writer.Save(SettingsPath);
        }
Ejemplo n.º 2
0
 // Must override WriteSettings() to write values
 public override void WriteSettings(UserSettingsWriter writer)
 {
     writer.Write("openMinimized", openMinimized);
     writer.Write("launchWeb", launchWeb);
     writer.WriteEncrypted("weblink", weblink);
     writer.Write("launchServer", launchServer);
     writer.Write("signalrPort", signalrPort);
     writer.WriteEncrypted("username", username);
     writer.WriteEncrypted("password", password);
     writer.Write("autologin", autologin);
 }
Ejemplo n.º 3
0
 public abstract void WriteSettings(UserSettingsWriter writer);