c# - Trying to make a windows store app that runs when the laptop lid is closed -
is there way make app such that, user presses button (in app) , directly closes lid, computer doesn't go sleep (that way app still running) , sort of make own temporary log in screen user opens lid? (and login screen freezes windows 8 functionality until user logs in)
im trying make alarm app can shut off logging in.
also app in question windows store app (written in c#) windows 8.
yes, administrative privileges. lid signal handling part of os power settings , controllable app if run administrator or obtains admin privileges @ runtime uac.
powercfg can if run sub-process cmd /c:
powercfg -setacvalueindex 5ca83367-6e45-459f-a27b-476b1d01c936 0 powercfg -setdcvalueindex 5ca83367-6e45-459f-a27b-476b1d01c936 0
there may .net api power management well.
Comments
Post a Comment