How to login anonymous?

Hello,

I want to build a chat client for a groupchat-room. The problem is, I don’t now how to communicate with the openfire-server so that the software connects anonymouse. On server-settings a have enabled the anonymouse login option. On spark you can select “anonymouse login” where you dont need to registrate an account. I want to do the same, but how?

I’m using the Jabber-Net library for VB.NET.

I tryed with random username + password, but it rejected me. There was an authentication error.

Thank for help!