Just for Test
Re-enabling the Screensaver
Re-enabling the screensaver requires that we clear the ES_DISPLAY_REQUIRED state flag. We can do this by passing the ES_CONTINUOUS flag alone:
public static void Enable(){ SetThreadExecutionState(EXECUTION_STATE.ES_CONTINUOUS);} |
