Read a Smart Card in Xojo

Does anyone have experience with reading smart cards? I want to read a smart card in Xojo via PC/SC or CT-API on MAC OS (Mavericks) and Windows (>XP).

What “smart card reader” do you have?

I use a Reiner SCT RFID Standard on Mac OS Mavericks (10.9) via USB. The standard driver use PC/SC 64 Bit.

https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man8/pcscd.8.html

That may prove helpful to make delcares (external methods)

I am facing the same challenge now. I wonder if anyone has had success and could give some guidance?
Planing to use a Smartcard reader supporting the PC/SC protocol if I get the terms right (I’m a total novice at this).

I have a half finished plugin for pcsc / winscard API here.

Using the new TKSmartCard Classes on OS X I assume ?

Interesting. Available since 10.10. But I’ve never heard of them before, and the macosxforge page makes no mention of it. Thanks for the pointer.

No, it was using pcsc lite library on Mac and Linux and winscard api on Windows.
Apple shipped pcsc library years ago.

[quote=255310:@Christian Schmitz]No, it was using pcsc lite library on Mac and Linux and winscard api on Windows.
Apple shipped pcsc library years ago.[/quote]
And deprecated it in 10.7 :stuck_out_tongue:
https://smartcardservices.macosforge.org/post/apple-deprecates-smart-card-services-in-os-x-lion-v107/

This is an issue for lots of things that are in transition from old frameworks & api’s to new ones

Well, it could be possible to finish the pcsc plugin and release it.
And maybe even write a newer one for the newer OS X apis.

Certainly and it would work for several OS X releases
SIP seems to make using pcsc more problematic on newer releases - 10.11 and up
Hence why I was asking