nickmarkfurness
Posts: 5
Joined: Fri Mar 04, 2016 12:39 pm

Windows.System.ShutdownManager

Fri Mar 04, 2016 12:46 pm

hi,

I have been looking at building in a shutdown and restart feature within my universal application and I have taken this from the IoTCoreDefaultApp as this has button that do exactly this.
The latest build 10.0.10586 has this application built in and it works, however I am unable to build and compile the sample code for this app. I have retargeted the SDK and fixed references so it compiles but when i try to deploy to my Pi it complains in the package manifest about:

<iot:Capability Name="systemManagement" />
<iot:Capability Name="lowLevelDevices" />

Can anyone help? My code runs as i can see this using breakpoints but nothing happens and i suspect the application doesn't have permission to shutdown or restart.

Thanks

Return to “Windows 10 for IoT”