Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- agsXMPP.XmppClientConnection objXmpp;
- objXmpp = new agsXMPP.XmppClientConnection();
- agsXMPP.Jid jid = null;
- jid = new agsXMPP.Jid("Email Address");
- objXmpp.Port = 5222;
- objXmpp.Password = "Password";
- objXmpp.Username = jid.User;
- objXmpp.ConnectServer = "talk.google.com";
- objXmpp.Server = jid.Server;
- objXmpp.UseStartTLS = true;
- objXmpp.AutoResolveConnectServer = true;
- objXmpp.Open();
- xmpp.OnLogin += delegate(object o) { xmpp.Send(new Message("Sending Gmail Address", MessageType.chat, "Hello, how are you?")); };
Add Comment
Please, Sign In to add comment