How Can we Track the Windows Lock Event

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: Jan 2008
Posts: 39
Reputation: btech_Saurabh is an unknown quantity at this point 
Solved Threads: 2
btech_Saurabh's Avatar
btech_Saurabh btech_Saurabh is offline Offline
Light Poster

How Can we Track the Windows Lock Event

 
0
  #1
Mar 4th, 2009
Hi ....

i want to track the Windows Lock Event.
when user lock the windows by any possible way, i want to run my code at that event.
but i don't know what is the event for this.

any Ideas?
Kind Regards,
saurabh
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 26
Reputation: AmirBedair is an unknown quantity at this point 
Solved Threads: 3
AmirBedair AmirBedair is offline Offline
Light Poster

Re: How Can we Track the Windows Lock Event

 
0
  #2
Mar 4th, 2009
dear btech_Saurabh,

can you explain what windows locks you talk about?

1 - lock desctop (windows+L).

2 - system events

3- windows is crashed due to process ear the memory or CPU utilization.
Amir S.Bedair
Senior Solution Developer
Please rate my answer
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 1,735
Reputation: LizR has a spectacular aura about LizR has a spectacular aura about 
Solved Threads: 186
LizR LizR is offline Offline
Posting Virtuoso

Re: How Can we Track the Windows Lock Event

 
0
  #3
Mar 4th, 2009
if you mean the event where a user presses windows+L or ctrl+alt+del+lock do a google on windows hooks and locking screen
Did I just hear "You gotta help us, Doc. We've tried nothin' and we're all out of ideas" ? Is this you? Dont let this be you! I will put in as much effort as you seem to.
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 39
Reputation: btech_Saurabh is an unknown quantity at this point 
Solved Threads: 2
btech_Saurabh's Avatar
btech_Saurabh btech_Saurabh is offline Offline
Light Poster

Re: How Can we Track the Windows Lock Event

 
0
  #4
Mar 18th, 2009
System Events
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 26
Reputation: AmirBedair is an unknown quantity at this point 
Solved Threads: 3
AmirBedair AmirBedair is offline Offline
Light Poster

Re: How Can we Track the Windows Lock Event

 
0
  #5
Mar 18th, 2009
check Microsoft.Win32.SafeHandles Namespace link

The Microsoft.Win32.SafeHandles namespace contains classes that are abstract derivations of safe handle classes that provide common functionality supporting file and operating system handles.
Amir S.Bedair
Senior Solution Developer
Please rate my answer
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C# Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC