473,473 Members | 1,857 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

magnetic stripe reader

Hi,
I want to write a c# application to capture the contents of a
magnetic stripe card with a card reader attached to the USB or COM
port of the PC. Are there any libraries or anything available to
do this, or do I need to read directly from the these port? Any
suggestions welcome ;) or Any code samples :-0

Nov 17 '05 #1
1 2105
I did it. It depends on your manufacturer. I used both serial and USB
swipe readers. Handling COM one is very trivial; just connect serial
port, and read data (asynchronously). For USB, manufacturer, mine was
Magtek, provides a HID driver that creates a COM port. Then you need to
do the same things you do with COM device. Finally, Magtek has another
USB device, which's a keyboard emulation. In my case, the focus was
guaranteed to be on a specific window, because there was no keyboard
and there was no touch screen - there is no way for user to change the
focus. In this case, when card is swiped, I was catching WM_CHAR
messages, placing them into a buffer.

Ismail

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Frank | last post by:
I'm trying to access my database of records via a mag stripe reader. I've created a querry that prompts me to enter a number. I thought that I might just swipe the mag stripe and the appropriate...
1
by: ryan.arasteh | last post by:
Hi, I want to write a c# application to capture the contents of a magnetic stripe card with a card reader attached to the USB or COM port of the PC. Are there any libraries or anything available...
5
by: RedEye | last post by:
Hello, I need to toss together a quick pocket pc app that uses a magnetic strip reader as it's primary method of input. I was wonder if there are any open source API's for this. Thanks for...
3
applets
by: applets | last post by:
Is there an activeX component in connecting a magnetic card reader in vb6.0 application? im currently working on a project that includes scanning magnetic card into the vb application is there a...
2
by: perpetualsoft | last post by:
well, I want to develop a application in VB 6.0 which get value from magnetic card through MSR and save in text field. Basically I using Magnetic Slot Reader with Keyboard Interface. its a product of...
35
by: creative1 | last post by:
Hi everyone I am working on a project and have to connect mx3-usb magnetic card reader with buildin software installation facility. I want to collect customer information by their driving licence....
1
by: etalon25 | last post by:
Hi! I have a card reader hooked to a usb drive, and I need help on how to create a windows form with texboxes that would get the data from a card when it gets swiped in the card reader. Right now it...
1
by: uddin | last post by:
I want to write a c# application to capture the contents of a magnetic stripe card with a card reader attached to the USB or COM port of the PC. Are there any libraries or anything available to do...
1
by: Robin Jain | last post by:
Hii I am using VB.Net 2005 I have some query which are as follow 1--How to find out that in which usb port my magnetic card reader is Connected ???? 2--How to get usb port number when...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.