Skip to content

Latest commit

 

History

History
50 lines (41 loc) · 2.39 KB

File metadata and controls

50 lines (41 loc) · 2.39 KB
title Accessing the Computer's Ports (Visual Basic)
ms.custom
ms.date 07/20/2015
ms.prod .net
ms.reviewer
ms.suite
ms.technology
devlang-visual-basic
ms.topic article
helpviewer_keywords
serial ports
My.Computer.Ports object [Visual Basic], tasks
ms.assetid b04a2f76-992a-4585-ab41-8bbbdbd554a1
caps.latest.revision 12
author dotnet-bot
ms.author dotnetcontent

Accessing the Computer's Ports (Visual Basic)

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

In This Section

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.

Reference

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.

Related Sections

xref:System.IO.Ports.SerialPort
Describes the .NET Framework xref:System.IO.Ports.SerialPort class.