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
 
Back
Top