System.powerOff() This page was last modified over 30 day(s) ago and has 0 comment(s)


Back to System Class Summary

Availability
Windows

Usage
mdm.System.powerOff(promptOption:String, messageText:String):Void

Parameters
promptOption:String - Warning prompt visibility

messageText:String - Warning message text

Returns
Nothing

Description
Performs a power-off sequence.

Notes
The 'promptOption' parameter can be either "ask" or "noask".

Example Code
mdm.System.powerOff("ask", "Are you sure to Power Off?");

mdm.System Class Example Downloads
No Example Downloads Available


Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here
  After Logging In, Click Here to Refresh This Page