Hi There,
I want to watch on which rumba-tab user is working. I am constantly monitoring PS using Notification subscription to all the sessions.
Get all session I use QuerySessions
I got list of session then I made list of sessions. Then I did Connect on each and application StartHostNotification API call on each.
Timely I am running following code to check for update.
foreach (string s in sessionList)
{
UInt32 result = EHLLAPI.EhllapiWrapper1.CheckHostUpdated(s);
int p;
EHLLAPI.EhllapiWrapper1.GetCursorPos(out p);
if (result >= 21 && result <= 23)
Console.WriteLine("Active session is : {0} position is : {1}", s , p);
}
My issues is I am getting updates for all the session every time. Data of other session jumble up.
Please suggest way how to detect working session and get accurate data.
#Rumba9.5
#Rumba