Class Power
Manages the power state of the system.
Inheritance
System.Object
Power
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Cosmos.System
Assembly: Cosmos.System2.dll
Syntax
public static class Power
Methods
| Improve this Doc View SourceReboot()
Reboots the system using the CPU.
Declaration
public static void Reboot()
Shutdown()
Shutdown the ACPI.
Declaration
public static void Shutdown()
Exceptions
Type | Condition |
---|---|
System.IO.IOException | Thrown on IO error. |