2007/10/11, Martin Paljak <[EMAIL PROTECTED]>:
>
> On 11.10.2007, at 11:31, Ludovic Rousseau wrote:
>
> >> We are in favour of the second option, also I don't see the point
> >> in adding
> >> the serial number to the readername, while an application can also
> >> retrieve
> >> it via SCardGetAttrib().
> >
> > Good point.
> > What do other think about that?
>
> The reasoning to add the serial was to make a difference between two
> same readers behind the same machine. As the reader selection works
> with names in PCSC the application could get the wrong reader on a
> second connect. At least the reasoning that was made when the feature
> was added made a lot sense to me.

Yes, I know why the reader serial number was added.

Do you think it is still needed now that the application can get the
reader serial number using SCardGetAttrib()?

I don't think I will revert the default behavior (include the reader
serial number in the PC/SC reader name) because:
- the addition is made by pcsc-lite itself
- SCardGetAttrib() will only provide the serial number if the driver
support this feature. And I know no driver that can do that.

Philipp, does the SCM proprietary driver support SCardGetAttrib() to
get the reader serial number?

bye

-- 
  Dr. Ludovic Rousseau
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to