BasicDevice.ConnectionStatus property
Gets an enumeration value indicating whether the device is currently on-line, off-line or sleeping but wakeable.
This property is read-only.
Syntax
HRESULT get_ConnectionStatus(
[out] ConnectionStatus *value
);
Property value
A pointer to a ConnectionStatus value.