My.Computer.Ports Object
Provides a property and a method for accessing the computer's serial ports.
Remarks
For information about the methods and properties of the My.Computer.Ports object, see Ports.
For more information, see Accessing the Computer's Ports (Visual Basic).
Note
You can also use properties and methods of the System.IO.Ports.SerialPort class to access the computer's serial ports.
Requirements
Namespace: Microsoft.VisualBasic.Devices
Class: Ports
Assembly: Visual Basic Runtime Library (in Microsoft.VisualBasic.dll)