in the OnSaslStat event you can select the Sasl anonymous mechanism if your server supports anonymous login.
Most server don't support anonymous connections.
thanks,Alex
I'am Chinese new to agsXMPP,so my English proficiency is very bad .actually my many questions want to ask, but because the language question enables me not to have the confidence. Are you understand Chinese? Can I use Chinese when I ask the question?
no, I speak no Chinese, only English and German.
There are many agsXMPP users in China. You can try to contact some of them. If you google for agsXMPP you also find many chinese websites.
Is there an example of how to log on using sasl anonymous?
I've got this event wired:
private void XmppCon_OnSaslStart(object sender, SaslEventArgs args)
{
// You can define the SASL mechanism here when needed, or implement your own SASL mechanisms
// for authentication