public void PreventMonitorPowerdown() { NoCat.SetThreadExecutionState(NoCat.EXECUTION_STATE.ES_DISPLAY_REQUIRED | NoCat.EXECUTION_STATE.ES_CONTINUOUS); }
public void AllowMonitorPowerdown() { NoCat.SetThreadExecutionState(NoCat.EXECUTION_STATE.ES_CONTINUOUS); }