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??
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
cechodePosted Nov 21, 2005, 11:15 PM
System.Diagnostics.
PerformanceCounter c = new System.Diagnostics.PerformanceCounter( "System", "System Up Time" );Console
.WriteLine(c.NextValue());