Exemple #1
0
 private void Button1Click(object sender, EventArgs e)
 {
     UbietySettings.AuthenticationTypes = MechanismType.Default | MechanismType.Plain;
     UbietySettings.Id       = new JID(txtUsername.Text);
     UbietySettings.Password = txtPassword.Text;
     UbietySettings.SSL      = btnSSL.Checked;
     _xmpp.Connect();
 }