BTCPayServer.NTag424.PCSC 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package BTCPayServer.NTag424.PCSC --version 1.0.0
NuGet\Install-Package BTCPayServer.NTag424.PCSC -Version 1.0.0
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="BTCPayServer.NTag424.PCSC" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BTCPayServer.NTag424.PCSC --version 1.0.0
#r "nuget: BTCPayServer.NTag424.PCSC, 1.0.0"
#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.
// Install BTCPayServer.NTag424.PCSC as a Cake Addin
#addin nuget:?package=BTCPayServer.NTag424.PCSC&version=1.0.0

// Install BTCPayServer.NTag424.PCSC as a Cake Tool
#tool nuget:?package=BTCPayServer.NTag424.PCSC&version=1.0.0

BTCPayServer.BoltCardTools

Introduction

This repository hosts tools that help with the creation of Bolt Cards.

Examples

Plug in a smart card reader, such as the identiv utrust 3700 f, and place an NTag 424 smart card on it.

Reference the nuget package BTCPayServer.NTag424.PCSC in your project.

dotnet add package BTCPayServer.NTag424.PCSC

Then to use it:

using BTCPayServer.NTag424.PCSC;
using System;

using var ctx = PCSCContext.Create();
var ntag424 = ctx.CreateNTag424();
var key = AESKey(new byte[16]);
await ntag.AuthenticateEV2First(0, key);

var id = ntag.GetCardUID();
var idStr = Convert.ToHexString(id, 0, id.Length).ToLowerInvariant();
Console.WriteLine($"Card UID: {idStr}");

License

MIT

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on BTCPayServer.NTag424.PCSC:

Repository Stars
btcpayserver/BTCPayServer.Vault
Sign with software or hardware wallets
Version Downloads Last updated
1.0.20 90 4/24/2024
1.0.19 108 2/8/2024
1.0.18 292 12/21/2023
1.0.17 98 12/21/2023
1.0.16 199 12/8/2023
1.0.15 209 10/25/2023
1.0.14 128 10/24/2023
1.0.13 137 10/24/2023
1.0.12 122 10/24/2023
1.0.11 190 10/23/2023
1.0.10 125 10/22/2023
1.0.9 127 10/22/2023
1.0.8 137 10/21/2023
1.0.7 107 10/20/2023
1.0.6 113 10/20/2023
1.0.5 130 10/20/2023
1.0.4 126 10/20/2023
1.0.3 121 10/20/2023
1.0.1 132 10/6/2023
1.0.0 109 10/4/2023