CardWerk.SmartCard 6.4.26.175

Prefix Reserved
dotnet add package CardWerk.SmartCard --version 6.4.26.175
                    
NuGet\Install-Package CardWerk.SmartCard -Version 6.4.26.175
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CardWerk.SmartCard" Version="6.4.26.175" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CardWerk.SmartCard" Version="6.4.26.175" />
                    
Directory.Packages.props
<PackageReference Include="CardWerk.SmartCard" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CardWerk.SmartCard --version 6.4.26.175
                    
#r "nuget: CardWerk.SmartCard, 6.4.26.175"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package CardWerk.SmartCard@6.4.26.175
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CardWerk.SmartCard&version=6.4.26.175
                    
Install as a Cake Addin
#tool nuget:?package=CardWerk.SmartCard&version=6.4.26.175
                    
Install as a Cake Tool

CardWerk.SmartCard

CardWerk.SmartCard is a commercial .NET smart card SDK for PC/SC applications.

It provides:

  • direct PC/SC integration for .NET applications

  • reader and card event monitoring

  • connection and protocol handling

  • APDU exchange with card or reader

  • a foundation for optional CardWerk CardModule packages for popular smart cards

Install

Trial license behavior

This package includes a packaged trial license for first use.

At build time, the packaged trial CardWerk.SmartCard.licenses file is copied to the application output directory only if no license file already exists there.

If a paid CardWerk.SmartCard.licenses file is already present, the package will not overwrite it.

Minimal example

using CardWerk.SmartCard; int readerCount = CardTerminalManager.Singleton.Startup(true); Console.WriteLine($"Available readers: {readerCount}"); if (readerCount > 0) { foreach (string readerName in CardTerminalManager.Singleton.GetSlotNames()) { Console.WriteLine(readerName); } } CardTerminalManager.Singleton.Shutdown();

For paid deployments, use one of these approaches:

  • replace CardWerk.SmartCard.licenses in the application output directory
  • set SmartCardApi.LicensePath
  • embed the paid license and call SmartCardApi.LoadLicenseFromResource(...)

CardWerk also provides a ZIP-based SDK package with code samples and documentation.

For more information:

Framework compatibility

This package targets .NET Standard 2.0.

It is compatible with:

  • .NET Framework 4.6.1 and later
  • .NET Core 2.0 and later
  • .NET 5 and later, including .NET 6, .NET 7, .NET 8, .NET 9, and .NET 10

NuGet may display this package primarily as a .NET Standard 2.0 package because compatibility is derived from the packaged assets. No framework-specific assemblies are required for the supported platforms listed above

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (15)

Showing the top 5 NuGet packages that depend on CardWerk.SmartCard:

Package Downloads
CardWerk.SmartCard.CardModule.Contactless

Contactless card module for CardWerk.SmartCard with support for PC/SC Part 3 contactless cards, UID access, reader interface detection, and shared functionality used by higher-level contactless card modules.

CardWerk.SmartCard.ReaderModule.Omnikey

HID OMNIKEY reader module for CardWerk.SmartCard with support for reader-specific features, secure channel handling, and proprietary OMNIKEY operations.

CardWerk.SmartCard.CardModule.DESFire

NXP DESFire EV1/EV2/EV3 card module for CardWerk.SmartCard with support for application selection, authentication, secure messaging, key management, file access, and card formatting operations.

CardWerk.SmartCard.CardModule.MifareUltralight

MIFARE Ultralight card module for CardWerk.SmartCard with support for Ultralight card access, page read/write operations, memory organization handling, and higher-level contactless and DESFire-based functionality.

CardWerk.SmartCard.CardModule.MifareClassic

MIFARE Classic card module for CardWerk.SmartCard with support for sector authentication, block read/write, value block handling, and card data access on PC/SC-compatible contactless readers.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
6.4.26.175 798 6/26/2026
6.4.26.170 758 6/19/2026

PC/SC winscard.dll wrapper for reader monitoring, card tracking, and APDU exchange with chip card and reader.