Com port scanning

P

Pankaj S

Hi,

Is there any way (registry entry or API) to get the active ports?

Thanks in advance,
Pankaj
 
C

Chris Tacke, eMVP

Just like with C++, there's no way to really know what's available short of
enumerating through COM1 to COM9 and seeing what doesn't return an error
code when you call CreateFile.

-Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top