SerialPort.PortName (gb.net)

Property PortName As String

Returns or sets current serial port device path. This property can be changed only when serial port is closed.

Examples

DIM Sp AS NEW SerialPort

Sp.PortName = "/dev/ttyS0"