Re: Get Data From USB Device
- From: jborden@xxxxxxxxxxxxx
- Date: 9 Oct 2006 08:33:04 -0700
Nicholas,
Thanks for the insight. I will look into your reccomendation and
hopefully come to an equitable solution. Thanks!
Jeff
Nicholas Paldino [.NET/C# MVP] wrote:
It looks like the device maps to a COM port. You will have to use the
SerialPort class, or connect to the COM port through a call to the
CreateFile API, and then reading and writing to the file handle that is
created from that call.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx
<jborden@xxxxxxxxxxxxx> wrote in message
news:1160187498.750692.63920@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
I've got a programming issue that I've never faced before and was
hoping that someone could shed some light on where to begin. I'm
trying to create an automated process that reads credit card data for a
POS application. I've got a credit card magnetic stripe reader
(http://www.logiccontrols.com/web/prodMR1.htm) that connects to a USB
port. If I have Notepad open, the data dumps into there. Otherwise,
I'm not sure where it goes. I'd love to create an application that
receives the USB data and saves it in a temporary file that I can read
from, and then delete it.
Is this possible or is there a more eloquent way to do this?
Thanks in advance for any help you can offer...
.
- References:
- Get Data From USB Device
- From: jborden
- Re: Get Data From USB Device
- From: Nicholas Paldino [.NET/C# MVP]
- Get Data From USB Device
- Prev by Date: Re: How do I exit the program?
- Next by Date: Re: check RAM size and configuration?
- Previous by thread: Re: Get Data From USB Device
- Next by thread: custom transparent forms
- Index(es):
Relevant Pages
|