 <p>You mean:</p> <ol> <li>How to capture the card number from the returning data. see this <a href="http://www.markhagan.me/Samples/CreditCardSwipeMagneticStripProcessing" rel="nofollow">code</a>.</li> <li>How to interact with the Device, if USB Device see this <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/ff468895(v=vs.85).aspx" rel="nofollow">code</a>,or serial Device use system.windows.IO.serial port class.</li> </ol>