智能卡 USB 驱动器盘符
我能够枚举任何计算机上所有插入的智能卡设备。我可以使用 P/Invoke (winscard.dll) 来完成此任务。
我现在想做的是创建一个代表我的智能卡读卡器的虚拟(USB)驱动器号。我不知道这是否可能。
连接智能卡的参考链接:
提前致谢。
I am able to enumerate all plugged smartcard devices on any machine. I can accomplish this by using P/Invoke (winscard.dll).
What I'm trying to do now is to create a virtual (usb) drive letter which represents my smartcard reader. I have no idea if this is possible.
Refence link for connected smartcard:
http://www.pinvoke.net/default.aspx/winscard.scardestablishcontext
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您必须为 Windows 创建一个文件系统插件,请查看此处< /a>.
并不是说您会取得多大成就,因为智能卡文件通常具有两个字节的文件 ID 而不是名称。此外,几乎所有文件都没有 Windows 可以识别的文件。除了 ISO 7816-15 之外,没有真正的方法可以列出目录,并且您可能不想采用这种方式。最后,最重要的东西(例如 PIN 码和密钥)如果是文件,则无法访问。
因此,尽管这是一个有趣的想法,但我不确定它会取得多大成果,而且这将是一项繁重的工作。
You would have to create a file system plugin for Windows, look over here.
Not that you would achieve much, because smart card files typically have two byte file ID's instead of names. Futhermore, almost all files don't have files that Windows would recognize. There is no real way of listing directories other than ISO 7816-15, and you might not want to go that way. Finally, the most important stuff like PIN's and keys cannot be accessed if they are files.
So though it is an interesting idea, I'm not sure it would accomplish much, and it would be a heap of work.