I don't have any C# code to do this, but you can use ISensLogon to get
notifications when users log on/off. There's a recent MSDN magazine article
that uses ATL, in the online help, so depending on your C++ skills you may
be good-to-go.
--
Mickey Williams
Author, "Microsoft Visual C# .NET Core Reference", MS Press
www.servergeek.com/blogs/mickey
"priyamjm" <pr******@hotmail.com> wrote in message
news:OQ**************@TK2MSFTNGP12.phx.gbl...
I would like to write a Windows Service app that will be notified when an
interactive user logs on/off the local computer.
Thanks in advance
Priyakant