User Profile
Collapse
-
Thanks Joseph for your involvement, actually there is no exception rather then its not reaching the SessionSwitch event. even i have made my machine lock\unlock manually or lock programmaticall y too. -
Thanks for time contribution.
I have tried following code:
Code:SystemEvents.SessionSwitch += new SessionSwitchEventHandler(SystemEvents_SessionSwitch);System.Events void SystemEvents_SessionSwitch(object sender, SessionSwitchEventArgs e) { //Console.WriteLine("lock"); logee.WriteEntry("Inside SystemEvents_SessionSwitch "); if (e.Reason == SessionSwitchReason.SessionLock)
Last edited by Plater; Jun 22 '11, 05:34 PM.Leave a comment:
-
Windows service not able to capture Login/Lock/Unlock in win7
Windows service not able to capture Login/Lock/Unlock in Win7.
if any one knows the solution or any idea or approach, please help me out.
waiting for all of your positive response.
Thanks in Advance..
No activity results to display
Show More
Leave a comment: