Check out the Windows.System.Display.DisplayRequest class. The requestActive method allows you to keep the display active if it is otherwise darkened and turned off. Be sure to call requestRelease once every time you call requestActive so that the display can return to its conscious behavior when you no longer need to stop it on.
source share