Hello all,
I need to be able to check the system idle timer but cant seem to find a way to check its value or reset it, making my own timer is not useful for what I want to do, can anybody toss me a snippet??
How Can I check the System Idle Timer Value
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
cechode10 pointsPosted Nov 21, 2005, 6:15 PM EST
System.Diagnostics.PerformanceCounter c = new System.Diagnostics.PerformanceCounter( "System", "System Up Time" );
Console.WriteLine(c.NextValue());