Gets or sets the device identification code often needed to establish a connection.
![](../icons/collapse_all.gif)
C# | Visual Basic | Visual C++ |
public ushort DeviceID { get; set; }
Public Property DeviceID As UShort Get Set
public: property unsigned short DeviceID { unsigned short get (); void set (unsigned short value); }
![](../icons/collapse_all.gif)
Most devices validate this ID when sending commands, so it must be correct in order to start parsing sequence.