I have an application which runs every hour on a Windows XP Machine. To run properly, this application requires the current session to be unlocked. So I was wondering if there a way to know if the current Windows session is locked or not with C# and .NET 3.5.
UPDATE: The application cannot listen to the SessionNotification events. The application can be kicked off anytime and terminates when completed.
Thanks!