Click here to Skip to main content
15,905,322 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a USB card reader. I want to catch its input using a windows service without any conflict with keyboard input.
the card reader act as a keyboard

What I have tried:

I haven't found any way to get a specific port input
Posted
Updated 7-Feb-18 11:15am
Comments
j snooze 7-Feb-18 17:20pm    
This might help you out.
https://stackoverflow.com/questions/34690108/c-sharp-scanning-com-ports-for-specific-input

1 solution

You can't.services run under an entirely different desktop that never gets the input focus. If the card reader acts like a keyboard, the keystrokes will only go to the user desktop that's logged in.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900