Creates and opens a SerialPort object.
| C# | Visual Basic |
public SerialPort OpenSerialPort( string portName )
Public Function OpenSerialPort ( _ portName As String _ ) As SerialPort
- portName (String)
- Name of the port to open.
An open SerialPort object, configured with the supplied arguments.