Click here to Skip to main content
15,920,596 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to get date time, when the sleep mode is on and system turns off and system turn on in window form.
This will help me in spy monitoring.
Posted
v2
Comments
OriginalGriff 28-Feb-13 2:46am    
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind.
Are you trying to get the date and time when the system is asleep? Or what? I can't tell from your question.
Use the "Improve question" widget to edit your question and provide better information.
Babu Kumar 28-Feb-13 4:04am    
Hi Srinivas,
Kindly give us a brief of your problem, from this question we couldn't understand.

Regards,
Babu.K
srinivas mup 28-Feb-13 5:30am    
i am working on a spy monitor tool in that i have to make the computer activity module .for that when we turn off the system or turn on the system we have to get a time for that thing by using asp.net in c# window form application i need a code for that

1 solution

I think what you are asking for is screensaver events. There is some code that is close to this here[^]. You want to monitor for example SC_SCREENSAVE and SC_MONITORPOWER events, perhaps others.

Also check out this[^] link and related answers...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900