Swarup
Swarup

Reputation: 105

C# how to detect serial port programatically

i want to detect/Configure serial port (COM Port) on which my device is connected automatically. Is it possible to do so in c#?

Upvotes: 0

Views: 5586

Answers (1)

Haja Maideen
Haja Maideen

Reputation: 468

What exactly you like to do? Did you look at Properties and Methods in System.IO.Ports class?

Following MSDN article may help.

http://msdn.microsoft.com/en-us/library/system.io.ports.serialport(v=vs.110).aspx

Upvotes: 2

Related Questions