PortName
PROPERTY
PortName
AS
String
Returns or sets current serial port device path. This property can be changed only when serial port is closed.
Dim Sp As New SerialPort() Sp.PortName="/dev/ttyS0"