How to get smartcard reader name in Windows 7 using C#?

Posted by AndrejaKo on Stack Overflow See other posts from Stack Overflow or by AndrejaKo
Published on 2010-05-08T17:22:23Z Indexed on 2010/05/08 17:28 UTC
Read the original article Hit count: 358

Filed under:
|
|
|
|

Hi! I'm trying to make a C# program which will use a C .dll (unfortunately, the .dll doesn't have good documentation) to access a smart card. One of the functions of the .dll uses name of the reader as argument. My problem is that I don't know how to get the name.

After looking for answers I found something similar to what I need in an example here: http://msdn.microsoft.com/en-us/library/aa379803%28VS.85%29.aspx I'm looking for a way to get szReader value as described in the aforementioned example using C#. Can anyone help me or at least point me in the right direction?

© Stack Overflow or respective owner

Related posts about windows-7

Related posts about c#