I have problem when trying to read keyboard input using windows service. In Windows Form it can be done easily by using global keyboard hook and read eventargs.
But in windows service how do I set so my service can detect event when I press key in keyboard?
nb: I try to pass data from barcode scanner to my apps, my barcode scanner using keyboard wedge and the process from reading barcode scanner till save to db need to be done in background. As what I read, keyboard wedge the same as typing in keyboard. That's why I ask this question sir. If u know how to, please kindly tell me, already stuck in this since 2 days ago