I am working on a C# application which runs in the background without any Windows control.
I want to notify Windows that my application is still alive to prevent Win
Here is SetThreadExecutionState C# implementation
SetThreadExecutionState