PowerStatus::PowerLineStatus Property
.NET Framework (current version)
Gets the current system power status.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Property Value
Type: System.Windows.Forms::PowerLineStatusOne of the PowerLineStatus values indicating the current system power status.
This property indicates whether the system power is online, or that the system power status is unknown.
.NET Framework
Available since 2.0
Available since 2.0
Show: