vendredi 27 février 2015

How can I prevent Windows OS from entering Sleep mode - .Net [duplicate]


This question already has an answer here:




Using C#, how can I prevent Windows OS from entering Sleep mode?


I know, that I can turn Sleep Mode off, that is what I do now. This question is about preventing the OS from Sleeing while a program is in a long running operation. Afterwards, entering Sleep mode shall be reenabled again.


Aucun commentaire:

Enregistrer un commentaire