magnetic-cards

catch input from a magnetic card reader to a variable

强颜欢笑 提交于 2019-12-02 11:43:24
问题 I can't seem to find a way to catch the input of a magnetic card reader. When it swipes, the input gets into active text editor, like say a notepad. Unfortunately, the focus on textbox field won't do the trick, because I'm required to make it a label instead of a textbox. Thus, I need a way to catch the input from the USB device to a variable or label instead. Does anyone knows of a .NET class I could use to do this or any better ideas? 回答1: I don't think there will be anyway for you to