PowerStatus.PowerLineStatus Property


Gets the current system power status.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public PowerLineStatus PowerLineStatus { get; }

Property Value

Type: System.Windows.Forms.PowerLineStatus

One 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
Return to top