Class Power
Manages the power state of the system by directly manipulating hardware devices.
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.HAL
Assembly: Cosmos.HAL2.dll
Syntax
public class Power
Methods
| Improve this Doc View SourceACPIReboot()
Reboot the system using ACPI. Currently not implemented.
Declaration
[Obsolete("This method is not yet implemented.", true)]
public static void ACPIReboot()
Exceptions
Type | Condition |
---|---|
System.NotImplementedException | Thrown always. |
ACPIShutdown()
Shutdown the system using ACPI.
Declaration
public static void ACPIShutdown()
Exceptions
Type | Condition |
---|---|
System.IO.IOException | Thrown on IO error. |
CPUReboot()
Triggers a direct, raw CPU reboot.
Declaration
public static void CPUReboot()