This example shows you how to publish event state. You can use Publish class and method SendRequest to send own publish request.
- User1 registers
- User2 registers
- User2 subscribes for presence event of User1
- User1 sets his state to "Online"
- User1 sets his state to "Offline"
- User1 enters new Expires value and makes refresh
- User1 removes his presence event
Download C# project
Download VB project