0
I'm working on a WPF app.
The app takes periodic screenshots of other visible windows.
My issue is that if the monitor goes into sleep mode or the user manually turns off the monitor the other windows frame freezes.
In order to prevent that I tried using - SetThreadExecutionState (https://learn....