Here there's an old question about this code.
xmpp.OnLogin += delegate(object o)
{
xmpp.Send(
new Message(
new Jid(JID_RECEIVER),
MessageType.chat,
"Hello, how are you?"
)
);
};
I want to use it in vb.net (version 10) but I couldn't figure out how to convert it.