HID iCLASS Card Credential

HID iCLASS card number access made easy using SmartCardAPI.

  • extracts card number (CN) and facility code (FC) according to card format
  • returns raw bit string to extract a number of bits at any offset
  • HID iCLASS card access via managed code
  • iclassCardDemo sample code (Visual Studio project)
  • supports Windows 10,11
  • supports .NET framework 4.6.x and .NET 5.0,6.0,8.0
  • tested with  OMNIKEY and Elatec readers

No need to sift through HID iCLASS card and HID OMNIKEY iCLASS card reader documentation. Nor do you need to look into PC/SC documentation of unmanaged code, write a winscard wrapper in C# or VB.NET etc.

By the time you are done a week of development time can easily be gone.

Thanks to CardWerk SmartCard API (Professional) edition reading the HID iCLASS Card Number is quite easy. 

SmartCardAPI supports all HID OMNIKEY reader proprietary commands that are necessary to establish a secure channel between reader and host software. Sample code shows how to read 26-bit Wiegand data or any other standard HID  access card format. Wiegand data is parsed according to known standard HID Wiegand card formats.

SmartCardAPI supports all HID OMNIKEY reader proprietary commands that are necessary to establish a secure channel between reader and host software.

All you need is SmartCard-API (Professional) and a few of lines of code read an HID access  card number or facility code. This means that you can generate the same Wiegand data, card number and facility code on your desktop system as it is being used in the physical access control panel. Now you can do more with your iCLASS card than opening doors.

SmartCard API provides you with easy-to-use methods to extract data items such as Facility Code and Card Number.

SmartCardAPI SDK contains a Visual Studio iclassCardDemo project. A few lines of code is all you need to read a PROX card number.

And in case you would like to see the library at work without any coding, download our ready-to-use PACS credential tester for Windows. PACSprobe  is available at PACSprobe.com and is based on the same libraries used for iclassCardDemo.  However, you don’t need to build the executable first. It is the ideal utility for a quick, free iCLASS card test just to see if your HID iCLASS card can be detected. The program calculates the iCLASS card number applying some known Wiegand encoding formats and supports Windows 10 and Windows 11.

Key Features of iclassCardDemo Sample Code

  • Reads HID iCLASS card’s card number
  • Supported HID OMNIKEY iCLASS card readers: OMNIKEY 5021, OMNIKEY 5022, OMNIKEY 5023, OMNIKEY 5127,  OMNIKEY 5421, OMNIKEY 5422, OMNIKEY 5427 CK, and OMNIKEY 5326 DFR
  • supports Elatec readers with on-board iCLASS module  
  • Supported HID Proximity card formats: 
    HID H10301 26 bit Wiegand open card format with facility code and card number 
    HID H10302 37 bit Wiegand format without facility code
    HID H10304 37 bit Wiegand format with facility code
    HID H10320 37 bit clock and data format
    HID Corporate 1000 35 bit and 48 bit Wiegand format for HID iCLASS cards with unique Company ID code and Card Number
  • Tracks card events i.e. detects card insertion/removal
  • C# sample code, supports all .NET programming languages including Visual Basic.NET (VB.NET),Visual C#, Visual J#, and Managed C++.

Minimum Requirements

  • Microsoft Visual Studio 2017
  • SmartCard-API (Professional) version 6.3 or later
  • HID OMNIKEY PROX or dual frequency reader with latest driver
  • Windows 10 or Windows 11
  • .NET Framework 4.6.x. or greater
  • .NET 5.0 or greater

Buying a software license of the CardWerk SmartCard API (Professional) edition entitles you to redistribute the binary CardWerk SmartCard API (Professional) assembly to your customers at an incredible ROI.

HID iCLASS card support