D7 Reserved, set to 1. (USB 1.0 Bus Powered)
D6 Self Powered
D5 Remote Wakeup
D4..0 Reserved, set to 0.

C# | Visual Basic | Visual C++ |
public readonly byte Attributes
Public ReadOnly Attributes As Byte
public: initonly unsigned char Attributes