display all COM Port

Get and Display all COM Ports using C#

Submitted by donbermoy on
Today in C#, i will going to teach you how to create a program that will get all Computer ports and display it in a ListView using C#. We all know that COM Ports are serial communications port on a PC. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application in C# for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application and name your program as Get all Computer Ports. 2.

Get and Display all Computer Ports in VB.NET

Submitted by donbermoy on
In this tutorial, we will going to create a program that will get and display all the computer ports in vb.net. COM Ports are serial communications port on a PC. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application. 2. Next, add only one Button named Button1 and labeled it as "Get Computer Ports".