Click here to Skip to main content
15,886,026 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
See more:
I am developing a software for a gaming zone on vb.net 2005.
Could anybody help me with these problems?


How should I detect Magnetic Card reader Device ID when a person swaps a card?

Because there are many devices I want know from which device I got the data.

Without knowing it I can not start the game because I don't know from which device [MAGNETIC card Reader] the person has swapped the card.
Posted
Updated 25-Oct-10 4:12am
v2
Comments
Dalek Dave 25-Oct-10 10:12am    
Edited for Grammar and Syntax.
Yusuf 25-Oct-10 11:33am    
So if we help you, do we get free copy of the game?
William Winner 25-Oct-10 12:14pm    
I sure hope that someone isn't paying you to do this...because they're money is just going to disappear.

1 solution

Card readers will/should have a unique identifier. You need to figure out a way to create a mapping from the information you're getting to the information you know.

You should enumerate the devices when you detect a change, when you start your app, or when you get an error. You should log what you find to help you sort it out.

Contact the company that is providing the card readers and ask how to identify the devices programmatically. We're not going to be able to help you much more than that.

If you run into any specifics or can provide further details feel free to post another question.

Cheers.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900