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