المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Trap and Read magnetic tripe card reader



C# Programming
01-16-2010, 09:21 AM
Hi!

I'm triying to read a card using a magnetic card reader. Now it's working perfectly in a quite simple way: reader it is pluged USB, and recognized as a standard input device, like a keyboard. I.E.: If I have focused a TextBox, and I pass a card, readed text is puted there (all three tracks, one after another, CR/LF inserted), directly.

But I need to TRAP and read the text when no TextBox or simmilar is focused. I don't need any help about magnetic stripe encodig. I have this info. Just need to know how to get that text.

Could you help me, please?

Thanks!