共用方式為


My.Computer.Ports Object Members 

The My.Computer.Ports Object provides a property and a method for accessing the computer's serial ports.

Properties

SerialPortNames

Gets a collection of the names of the serial ports on the computer.

This property is not available for Web applications.

Methods

OpenSerialPort

Creates and opens a SerialPort object.

This method is not available for Web applications.

See Also

Reference

My.Computer.Ports Object