LPT detection on Win XP using C#

  • Thread starter Thread starter luco
  • Start date Start date
L

luco

Hello!
In my application I need to detect how many parallel ports there are
in a machine I'm using and what their state is. Is it possible in C#?
Any ideas how to do it?

thanks in advance,
Lukasz
 
luco said:
Hello!
In my application I need to detect how many parallel ports there are
in a machine I'm using and what their state is. Is it possible in C#?
Any ideas how to do it?

Well System.IO.Ports.SerialPort reads from
@"HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\SERIALCOMM", so you can probably
read the parallel port information from the registry in a similar way.
 

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

Back
Top