Not logged in. · Lost password · Register
Forum: MatriX RSS
kingThor #1
Member since Sep 2016 · 4 posts
Group memberships: Members
Show profile · Link to this post
Subject: Roster and Presence Info
Hi Alex,
          how can i get the name and the presence info (online/offline) of all my added contacts immediately after login. i tried using the code below to check if it was actually returning any value but it wasnt, please what am i doing wrong.

  1. private void Client_OnPresence(object sender, PresenceEventArgs e)
  2. {    
  3.     MessageBox.Show(e.Presence.From.User +" "+e.Presence.Type);
  4. }

Thank you,
This post was edited on 2016-09-30, 18:36 by Alex.
Alex #2
Member since Feb 2003 · 4433 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
please study the MiniCient example from here:…

There is all you need.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: MatriX RSS