The best option would be, as already suggested, using the
Serial Port[
^] class provided by the
.NET Framework
.
If you're curious about providing runtime license info for
COM
controls, then you may have a look at my article
"LicenceProvider"[
^] (Note: is
C++
code), it uses just the
MSComm
in the code sample.
:)