紧急请帮忙 [英] Emergency Please Help

查看:108
本文介绍了紧急请帮忙的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在vb.net 2005上为游戏区域开发软件.
有人可以帮我解决这些问题吗?


当人们交换卡时,应该如何检测磁卡读卡器的设备ID?

因为我想知道有很多设备,我是从哪个设备获取数据的.

不知道我无法开始游戏,因为我不知道该人从哪个设备[MAGNETIC读卡器]交换了卡.

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.

推荐答案

读卡器将/应该具有唯一的标识符.您需要找出一种从获取的信息到您知道的信息创建映射的方法.

当您检测到更改,启动应用程序或遇到错误时,应枚举设备.您应该记录发现的内容,以帮助您进行分类.

请与提供读卡器的公司联系,并询问如何以编程方式识别设备.我们将无法为您提供更多帮助.

如果您遇到任何具体问题或可以提供更多详细信息,请随时发布另一个问题.

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


这篇关于紧急请帮忙的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆