How to disable the Windows 8 lock screen (WinRT)

Here's how you do it on Windows Phone http://blog.jerrynixon.com/2011/11/mango-sample-lock-and-run.html

This is NOT how you do it in Windows 8.

Is there a way to do this in Windows 8 applications?

+6
source share
1 answer

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.

+9
source

Source: https://habr.com/ru/post/916035/


All Articles