public void Save(XmlWriter writer)
 {
     writer.WriteAttributeBool("checkforupdates", CheckForUpdates);
     writer.WriteAttributeBool("automaticallyinstallupdates", AutomaticallyInstallUpdates);
     writer.WriteAttributeBase64("passwordsalt", _passwordSalt);
     writer.WriteAttributeString("proxyserver", ProxyServer);
     writer.WriteAttributeString("proxyusername", ProxyUsername);
     writer.WriteAttributeBase64("proxypassword", _password);
 }