| title | Accessing the Computer's Ports (Visual Basic) | ||
|---|---|---|---|
| ms.custom | |||
| ms.date | 07/20/2015 | ||
| ms.prod | .net | ||
| ms.reviewer | |||
| ms.suite | |||
| ms.technology |
|
||
| ms.topic | article | ||
| helpviewer_keywords |
|
||
| ms.assetid | b04a2f76-992a-4585-ab41-8bbbdbd554a1 | ||
| caps.latest.revision | 12 | ||
| author | dotnet-bot | ||
| ms.author | dotnetcontent |
The My.Computer.Ports object provides a property and a method for accessing the computer's serial ports.
How to: Show Available Serial Ports
Demonstrates how to show available serial ports.
How to: Dial Modems Attached to Serial Ports
Demonstrates how to dial a modem attached to the serial port of a computer.
How to: Send Strings to Serial Ports
Demonstrates how to send a string to a computer's serial port.
How to: Receive Strings From Serial Ports
Demonstrates how to receive a string from a computer's serial port.
Port Operations in the .NET Framework
Describes how to use the [!INCLUDEdnprdnshort] when performing port operations.
xref:Microsoft.VisualBasic.Devices.Ports
Describes the My.Computer.Ports object and its members.
xref:Microsoft.VisualBasic.Devices.Ports.SerialPortNames
Describes the SerialPortNames property, which gets a collection of the names of the serial ports on the computer.
xref:Microsoft.VisualBasic.Devices.Ports.OpenSerialPort%2A
Describes the OpenSerialPort method, which creates and opens a xref:System.IO.Ports.SerialPort?displayProperty=nameWithType object.
xref:System.IO.Ports.SerialPort
Describes the .NET Framework xref:System.IO.Ports.SerialPort class.