Shut Down Machine If it is idle for 20 mins
Hello All,
I am very much new to C#. My Requirement is if my computer is idle for 20 mins I need to shut down. Every where I am getting code to shut down. But I need to check if it is idle for 20 mins then only I need to shut down. how to do this, please place some code