Skip to content

How Can I check the System Idle Timer Value

AJ

Asked Nov 21, 2005, 4:24 AM EST1 answer
Share
LinkedInX
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??

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    how about this ?

    System.Diagnostics.PerformanceCounter c = new System.Diagnostics.PerformanceCounter( "System", "System Up Time" );

    Console.WriteLine(c.NextValue());

    0