public void OnServerConnectionSucceeded(object sender, ServerConnectionEventArgs args)
{
try
{
args.ConnectionInfo = CurrentServerInfo;
if (ServerConnectionSucceeded != null)
ServerConnectionSucceeded(this, args);
if (HostnameUpdated != null)
HostnameUpdated(this,
new HostnameEventArgs() {NewHostname = CurrentServerInfo.Hostname, Timestamp = DateTime.Now});
RequestAuth(CurrentServerInfo.Password);
}
catch {
// ignored
}
}