/// <summary> /// Turns the sceen off /// </summary> public static void TurnOffScreen() { // executing with a time limit as on system the operation runs even when though the screen geos off ThreadingHelper.DoAsync(() => User32.SendMessage(0xFFFF, 0x112, 0xF170, 2), 500); }