UsbConfigurationDescriptor.SelfPowered Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the D6 bit of the bmAttributes field in the USB configuration. This value indicates whether the device is drawing power from a local source or the bus.
public:
property bool SelfPowered { bool get(); };
bool SelfPowered();
public bool SelfPowered { get; }
var boolean = usbConfigurationDescriptor.selfPowered;
Public ReadOnly Property SelfPowered As Boolean
Property Value
bool
True, if the device is drawing power from a local source; false indicates that the device is only drawing power from the bus.
Remarks
If SelfPowered is true, the device is drawing power from a local source, and also some power from the bus. Get the MaxPowerMilliamps property value to determine the amount of power the device is drawing from the bus.