NXP DESFire EV1/2/3 Sample Code for .NET

No need to start reading through NXP DESFire card specifications. Nor do you need to study PC/SC unmanaged Windows API documentation.

SmartCard API includes a Mifare DESFire card module for .NET. It is written in C# on top of our Smart card API framework with DESFire card edge knowledge built-in just where you need it.

Mifare DESFire EV1, EV2, EV3 card module

  • authenticate under TDES, AES keys
  • create/delete application
  • plain, signed and encrypted communication
  • read or write card data
  • static and random UID support 
  • PC/SC reader support
  • mutual authentication implemented on host side

SmartCardAPI saves you days of valuable software engineering time. Complex cryptographic protocols are part of the DESFire card module and ready for you.

To make things even easier, we added sample code for DESFire cards to our SDK. We have prepared sample code to demonstrate this, and wrapped it in HelloWorld-style sample code “DESFireCardDemo” that is part of our standard SDK.

We are sure you’ll love SmartCardAPI(professional).

Key Features of DESFire Sample Code

  • Works with DESFire EV1, EV2, EV3
  • supports transparent PC/SC contactless card readers
  • NXP compatible API
  • 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 2019
  • PC/SC compliant contactless smart card reader
  • Windows 10, Windows 11
  • .NET Framework 4.6.x, .NET 5.0

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