Re: Get Data From USB Device

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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...


.



Relevant Pages

  • Get Data From USB Device
    ... I've got a programming issue that I've never faced before and was ... I've got a credit card magnetic stripe reader ... receives the USB data and saves it in a temporary file that I can read ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Get Data From USB Device
    ... It looks like the device maps to a COM port. ... I've got a credit card magnetic stripe reader ... receives the USB data and saves it in a temporary file that I can read ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: SSHD and SSH Call-out via Port Knocking
    ... The 12 digits, are the numbers that make up your 4 octets of your IP address. ... One command port reads the temp file, creates the IP address to use, then ... NO ssh daemons running normally, nothing to see, nothing to probe. ... appending to a temporary file. ...
    (SSH)
  • Re: Messenger Service on W2K server
    ... that seemed to hint about port 139 but no one sounded very ... firewall/proxy to do ... >>> 7745 number requests a credit card or permission to ... that he doesn't know to UNV Telemessenging ...
    (microsoft.public.security)
  • Serial Port Access
    ... I have a Nokia 6620 cell phone connected to my laptop through a USB data ... Thus COM15 can be seen and accessed from Hyperterminal. ... open the port through CreateFile in my own application, ... UINT portnr = 15; ...
    (microsoft.public.win32.programmer.networks)