c# code to check if OS has entered idle state or not?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rosia Devasia
    New Member
    • Jan 2011
    • 4

    c# code to check if OS has entered idle state or not?

    Hi,

    Please let me know if they are any APIs or any other methods by which i can check if the system has entered idle state or not?
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    The system is always partially idle. Look in the task manager at the "system idle process"
    Also, if you're doing work to see if the system is idle...then it is not idle.

    Comment

    • hype261
      New Member
      • Apr 2010
      • 207

      #3
      What do you mean by entered an idle state? Does that mean the computer has gone into sleep or hibernate mode or does it just mean that the user hasn't typed anything on the keyboard or moved the mouse recently?

      Comment

      Working...