SerialDevice.Name

From Xojo Documentation

Read-Only Property (As String )
StringValue = aSerialDevice.Name

New in 2019r2

Supported for all project types and targets.

The name of the serial device.

Example

This example gets the name of serial device at index 0.

TextField1.Value = SerialDevice.At(0).Name