Parallel Port

  • Thread starter Thread starter Ibrahim Hammad
  • Start date Start date
I

Ibrahim Hammad

Is there any method to access the computer ports(eg.
parellel port) throw C#.
 
Hi,
You could use the following approach:
1. Use Win32 CreateFile function to port device (for example \\.\LPT1 is a
name of 1st parallel port)
2. Create System.IO.FileStream object using device handle returned by
CreateFile
 

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