soheilshoolookh 0 Newbie Poster

hi,

I have a card reader type ACR30 of acs company.
I have 3 way to connect the card..

1. Card Reader dll (ACR30.dll)
2.winscard.dll
3.scardssp.dll

Its defficult for me using [DllImport]
so I choosed the scardssp.dll that is installed in the COM libraries of
VS.net by defult..

There is class in scardssplib "CSCardClass" that I I use to connect
my reader by calling "AttachByReader"...
I Can Connect reader sucssesfully.. as I know the Data of the SmartCard
is stored in the "Atr" property of the "CSCardClass" that is object of
"CByteBuffer" Class... But I dont know how to access the Data..
In fact I dont know how to work with "CByteBuffer"..
and the read function of "Atr".

I will appericiate any help and I would be very happy if someone give me
some code on this..

-regards
-Soheil

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.