473,473 Members | 1,477 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

System Idle Time Detection in C#.Net

12 New Member
hi frnds,


How we ca detect the system idle time . Actually i want to Check whether thesystem is inactive(ie, the mouse and keyboard are not active)
or not....

waiting 4 ur reply...

Thanks in advance
***********************SrEeRaJ*********
Mar 13 '08 #1
3 10609
sreeraj1984
12 New Member
hi friends ..
i want to develop time tracker .means we are calculating the working hours of the employee and idle time of the employee(means how much time he didnot use the system).we are providing the breaktimings.what i want is calculating the " idle time and working hours".


Regards

************************Sreeraj***************
Mar 13 '08 #2
sanoj
1 New Member
i want to get the idle time that the employee is not working......... if the employee is not working for a specified time then a mail have to sent to the admin.
C#.net


pls give me suggestions
Mar 13 '08 #3
Plater
7,872 Recognized Expert Expert
I merged these two threads since you're asking the same questions as each other. This better not be a homework assignment.

I have no merged the duplicate thread as well, please don't double post.
MODERATOR



Hmm, well I guess you want want to watch for keyboard and mouse movements yes?

If you just want to know when they are not using your application, try Application.Idle.

However, if you want to know when they are not doing moving mouse/keyboard on their computer, regardless of what program has the focus....
Try this:
http://www.codeproject.com/KB/cs/globalhook.aspx
Mar 13 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: john | last post by:
I don't want to know what the CPU utilization is right now. I want to get the average utilization over the last, for example, hour. So I came up with a method where I would get a Process object...
19
by: Frank Rizzo | last post by:
I want to log the user out when there has been a period of inactivity in the application. The key here is inactivity of the application, not the system. I know that you can retrieve the...
5
by: Frank Rizzo | last post by:
Hello, I have a dozen 3rd party controls on my form. I am trying to detect when the application is idle. But even after the mouse and the keyboard are no longer moving, something is still...
5
by: Kevin Buchan | last post by:
How can I tell if the system is 'idle', or the screen saver is running, or the machine is locked? I am writing an application that could really benefit from knowing this information. During...
6
by: TyBreaker | last post by:
I am using a performance counter to record the "Elapsed (CPU) time" of the "Idle" process. I record the elapsed time, wait 1 second and then record the new elapsed time. The result I get is: ...
5
by: sam | last post by:
hi all, i continue to footle around on my spanking new ultra 20 (1.8GHz / Opteron Model 144), gradually trying to get to grips with python and unix both. the slow print time in IDLE had...
3
by: writser | last post by:
hey all, For my study I'm writing a simple threaded webcrawler and I am trying to do this in python. But somehow, using threads causes IDLE to crash on Windows XP (with the latest python...
1
by: amitmk78 | last post by:
I want to track the system Idle time the moment any user locks the system by hitting CTRL+ALT+DEL . The moment the user locks the system, a small window within the system should display the timer...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.