Click here to Skip to main content
15,902,939 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
Hi there,

I need to get the time for which the system is locked and time it is used.This information has to be updated to the server everyday.For this, I am developing a windows Application where it counts the number of hours used,number of hours locked and update this information to server.I want to develop a webservice for this.

I tried using methods of User32.dll and a timer to stop when system is locked and starts when unlocked again;but could not able to figure out how to do this.
Please provide me some ways to do this

Thanks and Regards,
S.M.Naresh.
Posted

1 solution

 
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