High-level .NET SDK for reading Saudi Arabia Identity Cards

1k Views Asked by At

I recently developed a C# application that can read the PCSC chip in Emirates Identity card, using the SDK provide by Emirates Identity Authority and HID OMNIKEY 3121 device. But I need to read all the GCC Identity cards that have PCSC chips on them, like Omani and mainly Saudi Arabia.

But all the APIs I found online was low-level, that I have to send byte commands to read data. I even tried to follow some tutorials, but with no luck.

Is there any high-level SDK that I can use to read any PCSC chip card?

2

There are 2 best solutions below

1
jariq On

Depends on what "read an PCSC chip cards" means but basically there are three options with most of the cards:

  1. PC/SC API with APDUs - see pcsc-sharp for .NET wrapper.
  2. PKCS#11 API with library provided by the card vendor - see my project Pkcs11Interop for .NET wrapper.
  3. Crypto API on MS Windows with a standalone CSP or at least minidriver provided by the card vendor - supported by .NET natively.
0
jiten On

you have to write Winscard.dll wrapper.This link will help you