/// <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);
        }
 // Must override WriteSettings() to write values
 public override void WriteSettings(UserSettingsWriter writer)
 {
     writer.Write("IPAddress", IPAddress);
     writer.WriteEncrypted("Source", DataSource);
     writer.WriteEncrypted("Catalog", InitialCatalog);
     writer.WriteEncrypted("User", UserID);
     writer.WriteEncrypted("Password", Password);
 }
 public abstract void WriteSettings(UserSettingsWriter writer);