public void ResetScreenSaver() { SetThreadExecutionState(((uint)(ExecutionStateFlags.ES_DISPLAY_REQUIRED | ExecutionStateFlags.ES_SYSTEM_REQUIRED))); }