none
Findind LPT Parallel Port Addresses with .NET RRS feed

  • Question

  •  I am newbie to Programming with .Net. I am trying to find out the addresses of 3 Parallel Ports that are installed on my PC. 1 of the Parallel Ports is built-into the mother board. The other 2 were added by Expansion slots in the PC. I am trying to write a WinForm Program using Visual Studio 2008, or, Visual Studio 2010(on a Windows 7 and Windows 10 PC), that can find the addresses Programmetically. I know I can use the device manager to find out these addresses, but, I also want to able to find these addresses from a WinForm Program. I can include INPOUT32.Dll that lets me Read from and write to the Parallel Ports once I know their addresses. I have read somewhere that the LPT Parallel Port addresses are stored at Bios Data Area addresses of x0408(LPT1), x040A(LPT2), x040C(LPT3). Can I derectly read these BIOS Data Area using one of the INPUT commands in INPOUT32.DLL?, or, if there are any other ways to find these addresses. Thanks in Advance. 
    Tuesday, April 28, 2020 5:12 AM

All replies