【发布时间】:2014-07-07 14:19:17
【问题描述】:
我的系统中有两个阅读器 (HID OMNIKEY 5321)(每个阅读器执行不同的功能)
- 读卡器 1 -“智能卡读卡器 0”
- 读卡器 2 -“智能卡读卡器 1”
在我的程序中是这样设置的
- “智能卡读卡器 0” - 操作 1
- “智能卡读卡器1” - 操作 2
但有时(没有重新启动,可能失去联系)
- 读卡器 1 的名称为“智能卡读卡器 1”
- 读卡器 2 的名称为“智能卡读卡器 0”
并且该程序不执行用户需要的操作。 我在 WinScard.dll 中使用 SCardGetStatusChange(需要读取器的名称)
怎么办? 有没有办法更改阅读器的名称(固件、驱动程序......)? 是否可以使用读卡器的序列号?
我也看了,但没有结果 Smartcard reader naming: when removing any reader, the name of the rest changes How are PCSC smart card reader 'friendly names' constructed?
【问题讨论】:
标签: c# smartcard smartcard-reader pcsc winscard