Turn off the Device

Georg

Member
Licensed User
Longtime User
Hi,
i was looking in the forum, but i couldn't find how to turn off the Device in an app. How to do?
 

Zenerdiode

Active Member
Licensed User
You can turn off the device with Hardware.KeyPress(223). 223 is the value of the power button.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…