EMVCard.Core
2.0.1
See the version list below for details.
dotnet add package EMVCard.Core --version 2.0.1
NuGet\Install-Package EMVCard.Core -Version 2.0.1
<PackageReference Include="EMVCard.Core" Version="2.0.1" />
<PackageVersion Include="EMVCard.Core" Version="2.0.1" />
<PackageReference Include="EMVCard.Core" />
paket add EMVCard.Core --version 2.0.1
#r "nuget: EMVCard.Core, 2.0.1"
#:package EMVCard.Core@2.0.1
#addin nuget:?package=EMVCard.Core&version=2.0.1
#tool nuget:?package=EMVCard.Core&version=2.0.1
EMVCard.Core
This library provides core functionality for EMV card transaction storage and processing, including:
- Transaction data model (
CardTransaction) - Storage interfaces and implementations (JSON and SQLite)
- Batch and summary operations for high performance
- .NET Framework 4.7.2 compatibility
Features
- Save, retrieve, filter, and export EMV card transactions
- JSON and SQLite storage backends
- Batch insert with
SaveBatchAsync - Lightweight summary queries with
GetAllSummaryAsync - Designed for integration with Windows Forms and other .NET apps
What's New in v2.0.4
- Maintenance and compatibility improvements
- Updated NuGet version: 2.0.4
Usage
Install via NuGet:
Install-Package EMVCard.Core -Version 2.0.4
.NET CLI:
dotnet add package EMVCard.Core --version 2.0.4
Example:
using EMVCard.Storage;
var storage = new SQLiteTransactionStorage("transactions");
await storage.SaveAsync(transaction);
// Batch insert
await storage.SaveBatchAsync(transactions);
// Get summaries
var summaries = await storage.GetAllSummaryAsync();
Requirements
- .NET Framework 4.7.2
- Newtonsoft.Json
- (Optional) System.Data.SQLite for SQLite storage
License
MIT
Copyright
Copyright holders: Johan Henningsson
NfcReaderLib
A .NET library for PC/SC smart card communication, SL Token generation, and EMV/NFC card utilities.
NuGet Packages
| Package | Version | Description |
|---|---|---|
| NfcReaderLib | 2.0.3 | PC/SC communication, SL Token generation |
| EMVCard.Core | 2.0.4 | EMV card reading, storage, and export |
Installation
Package Manager Console:
Install-Package NfcReaderLib -Version 2.0.3
Install-Package EMVCard.Core -Version 2.0.4
.NET CLI:
dotnet add package NfcReaderLib --version 2.0.3
dotnet add package EMVCard.Core --version 2.0.4
Features
- PC/SC card reader support (contact/contactless)
- 32/64-bit Windows support
- SL Token (SHA-256) generation from ICC certificates
- EMV TLV parsing, PSE/PPSE, GPO, record reading
- Card polling, PAN masking, async operations
What's New in v2.0.4
- Maintenance and compatibility improvements
- Updated NuGet version: 2.0.4
Requirements
- .NET Framework 4.7.2
License
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
-
.NETFramework 4.7.2
- FluentAssertions (>= 8.8.0)
- Newtonsoft.Json (>= 13.0.4)
- NfcReaderLib (>= 1.0.4)
- System.Data.SQLite (>= 2.0.2)
- System.Data.SQLite.Core (>= 1.0.119)
- xunit (>= 2.9.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
v2.0.1 - Bugfixes: ArgumentNullException for null FCI, valid PDOL TLV in tests, no duplicate/partial methods. Logging is now configurable. C# 7.3 compatibility. Moq-based tests supported. See RELEASE_NOTES.md for details.