logo
VitNX3 Documentation

# SYSTEM_POWER_CONTROL Enumeration

Namespace: VitNX3.Functions.WinControllers
Assembly: VitNX3 (in VitNX3.dll)
Options for control the power of computer.
Fields

| Name | Value | Description
--- | --- | --- | ---
| SYSTEM_LOCK | 3 |
| SYSTEM_LOGOFF | 0 |
| SYSTEM_REBOOT | 2 |
| SYSTEM_SHUTDOWN | 1 |

Source code
VB
C#
F#
C++
JScript
Copy

    public enum SYSTEM_POWER_CONTROL
     {
         SYSTEM_LOGOFF,
         SYSTEM_SHUTDOWN,
         SYSTEM_REBOOT,
         SYSTEM_LOCK
     }

    This language is not supported or no code example is available.

See Also
PowerControl Class
VitNX3.Functions.WinControllers Namespace