Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Matching "Device Instance Id"s with Smartcard Reader's system name

67 views
Skip to first unread message

Kemal Özdemir@discussions.microsoft.com Mustafa Kemal Özdemir

unread,
Sep 5, 2008, 10:58:06 AM9/5/08
to
Greetings,

We need to use more than one smartcard reader at the same time in the same
pc, but somehow match them with some stations. The readers are GEMTWIN USB
and they have no serial number to identify and match them.

I made some reasearch on net, and found out that when the reader plugged
into the same usb port it will have always the same "Device Instance Id". If
we make configuration once for stations, then using the Devvice Instance Id
information we can always correctly match the readers. But, my problem is
that I can't match the device instance id with smartcard readers' friendly
names.

For instance, device instance names of two reader as follows:
USB\Vid_08e6&Pid_3437\5&1caf6aa3&0&2
USB\Vid_08e6&Pid_3437\5&3ac04515&0&2

And their names returned from SCardListReaders() function:
Gemplus USB Smart Card Reader 0
Gemplus USB Smart Card Reader 1

But I can not match these two information. WinSCard API seems to does not
return any device information which will help to identify two same brand
readers, and I can not use the information returned from Win DDK functions
(like device info returned in SetupDiGetInterfaceDeviceDetail()) with
WinSCard API.

Would you advice about this issue or suggest a another way to achieve this?

Thanks in Advance

0 new messages