Gets or sets the device identification code often needed to establish a connection.
Declaration Syntax
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); }
Remarks
Most devices validate this ID when sending commands, so it must be correct in order to start parsing sequence.