How to Read an HID Proximity (PROX) card number?
Download HID PROX card sample code for .NET, C#, VB.NET

We get these questions quite often:

Of course you could start reading through HID PROX card and HID OMNIKEY proximity card reader documentation. Then you would look into PC/SC documentation of unmanaged code, write a winscard wrapper in C# or VB.NET etc. Some readers return Wiegand data via ATR, others via UID, and there are also readers that require proprietary commands. By the time you are done a week of development time can easily be gone.

smart card API can read HID Prox cards

Thanks to CardWerk SmartCard API (Professional) edition reading the HID PROX Card Number is quite easy. The sample code shows how to read 26-bit Wiegand data or any other standard HID prox card format. Wiegand data is parsed according to known standard HID Wiegand card formats.

All you need is SmartCard-API (Professional) and a few of lines of code read a 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 PROX card than opening doors.

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

We have prepared sample code to demonstrate this. It is work in progress. However as we think that this code can be very helpful, we wrapped it in HelloWorld-style sample code. Pre-release updates might become available outside the standard SDK setup. Just look for "C# HelloProx" sample code in our download section.

Or download our ready-to-use HID PROX & iCLASS test tool PACSprobe for Windows. It is available at and is based on the same libraries used for HelloProx and HelloICLASS. However, you don't need to build the executable first. It is the ideal utility for a quick, free PROX card test just to see if your HID Prox card can be detected. The program calculates the PROX card number applying some known Wiegand encoding formats and supports Windows 7, Windows 8 and Windows 10 systems. 32-bit and x64 versions of Windows are supported.

Key Features of HelloProx Sample Code

Minimum Requirements

Buying a commercial 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.

Copyright 2004-2017 CardWerk Technologies,
All rights reserved. Imprint, Legal Disclaimer. Last modified June 7, 2017.