I would say sorry if i put my question in wrong place.I am new to c#.net and i meet a problem with c#.net agsxmpp documentation.Exists any agsxmpp documentation? I cannot find anything. I'm making IM and I need know following:
How can i get contact list (contains - current availability, nickname, identificator (user@site))?
Not sure if this event works (need for availability change) :
Is where any timestamp or datetime value in incoming message?
What I found is this for getting contacts:
But there aren't all properties (I need also availability, identificator) or are they?
How can i get contact list (contains - current availability, nickname, identificator (user@site))?
Not sure if this event works (need for availability change) :
- static void xmpp_OnPresence(object sender, Presence pres)
What I found is this for getting contacts:
- public void RequestRoster()
- {
- }
- private void OnRosterResult(object sender, IQ iq, object data)
- {
- Roster r = iq.Query as Roster;
- if (r != null)
- {
- foreach (RosterItem i in r.GetRoster())
- {
- Console.WriteLine(i.Name);
- }
- }
- }