views:

515

answers:

1

Hi,

I'm interested in finding out more about the Microsoft Office Communicator IM client, and how it determines your presence (i.e if you are at your computer or away). Can anyone point me towards a tutorial that explains this, or details of the API?

Thanks, MagicAndi

+1  A: 

After a bit of research, it looks like the Office Communicator client makes use of a simple audit of keyboard and mouse activity to determine the presence of a user. This article discusses the Microsoft Communicator presence status, and these related questions also refer to it:

It appears that Office Communictaor makes use of the Windows API GetLastInputInfo Function. The following questions detail the options for calling this function (with and without P/Invoke):

MagicAndi
How sad, thought that someone would come along and improve on this. Accepting my own answer (until someone posts a better answer).
MagicAndi