Skip to content

YoshiroTamura/SheepSmartCard

Repository files navigation

SheepSmartCard

SheepSmartCard DLL

SheepSmartCard DLL is a dynamic link library to read smart card ID.

Description

SheepSmartCard DLL calls WinScard API(winscard.dll) and read an unique ID that any smart cards have, 'UID' of RFID Type A (Mifare) and 'IDm' of RFID Type F (FeliCa).
This library only reads ID, so you do not worry about leaking or changing the card information by using it.

Requirement

OS : Windows 10 / Windows 7
Card Reader : Supports ISO 14443 Type-A (Mifare) / NFC Type-F (FeliCa)
Smart Card : Mifare (Classic, Ultralight) / FeliCa
     * Does not support Type-B card because it returns random ID (PUPI).

Usage

  1. Download and place dll to your system directory.
      - 64 bit application on 64 bit operating system : SheepSmartCard64.dll to C:\Windows\System32
      - 32 bit application on 64 bit operating system : SheepSmartCard32.dll to C:\Windows\SysWOW64
      - 32 bit operating system : SheepSmartCard32.dll to C:\Windows\System32
  2. Call dll and define a function named GetSmartCardUID.
     I provide sample code for Visual C#, Visual Basic, and VBA (Excel, Access). Please check those.
Snapshots of sample

Sample Snapshot 1   Sample Snapshot 2

License

MIT License © Yoshiro Tamura

Author

Yoshiro Tamura   IT engineer, used to be a shepherd.