我被要求用“磁卡”开发带有 DB 的 ac#,从哪里开始?

发布于 2024-11-26 08:37:34 字数 269 浏览 1 评论 0原文

我习惯使用前两个(c#,mssql),但我不知道磁卡是如何工作的。

它应该是一个USB设备,我想对磁卡进行一些调查,但我不能接受这个项目,然后意识到我做不到......

  • 有人说他们没有任何类型的的 API 来处理它,c# 是否提供了一个?
  • 我想每张磁卡都有某种加密,不是吗?如果真是这样,我就完蛋了。
  • 怎样在卡上写字? (写入的卡或数据是否保留在服务器上,并且该卡只保存一个 ID?)
  • 您知道可以提供任何教程吗?

I'm used to work with the previous two (c#, mssql), but I don't know how does the magnetic card thing.

It's supposed to be an usb device and I suppose a little investigation concerning magnetic cards, but I can't accept the project and then realize I can't do it...

  • I've been said that they don't have any kind of API to handle it, does c# provide one?
  • I suppose that every magnetic card has some kind of encryption, doesn't it? If it does, I'm screwed.
  • How to write IN the card? (Is the card that's written or the data stays on a server and the card only holds an Id?)
  • Do you know of any tutorial you could provide?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

司马昭之心 2024-12-03 08:37:34

我认为你应该回到潜在客户那里并询问更多细节 - 我猜这会比你想象的要小得多,并且向客户询问技术问题将有助于提高你的可信度。询问他们:

  • 他们是否有任何类型的系统概述文档
  • 他们是否选择了磁卡(读卡器?)来使用
  • 他们希望存储什么类型的东西

我曾经编码过的唯一“USB 磁卡”系统基本上工作如下USB 键盘输入 - 所以使用它只是使用文本框的情况。

I think you should go back to the potential customer and ask for a few more details - I'd guess that this will be much less stressful than you think it is and asking technical questions of the customer will help improve your credibility. Ask them:

  • do they have any kind of system overview document
  • have they selected the magnetic card (reader?) to use
  • what sort of things are they expecting to store

The only "USB magnetic card" system I've ever coded against basically worked as a USB keyboard input - so using it was just a case of using a textbox.

你对谁都笑 2024-12-03 08:37:34

首先了解该卡的更多详细信息。一旦您了解了类型和要求,您将能够提出更好的问题(更切题)并做出决定。

First get more details on the card. Once you know the type and requirements you'll be able to ask better questions (more to the point) and make a decision.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文