csismartcard 2.0.4

dotnet add package csismartcard --version 2.0.4
NuGet\Install-Package csismartcard -Version 2.0.4
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="csismartcard" Version="2.0.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add csismartcard --version 2.0.4
#r "nuget: csismartcard, 2.0.4"
#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 csismartcard as a Cake Addin
#addin nuget:?package=csismartcard&version=2.0.4

// Install csismartcard as a Cake Tool
#tool nuget:?package=csismartcard&version=2.0.4

csismartcard

Minimum mimicking for javax.smartcardio Sometimes we need to port code(s) from java to csharp and vice versa. This library tries to achieve that especially for PCSC smartcard operation. Some of methods are missing on this.

NuGet installation

see https://www.nuget.org/packages/csismartcard/2.0.4

API Example

A simple example of using the API is:

// show the list of available terminals
TerminalFactory factory = TerminalFactory.getDefault();
List<CardTerminal> terminals = factory.terminals().list();
terminals.list().ForEach(o => Console.WriteLine(o.getName()));
Console.WriteLine();
// get the first terminal
CardTerminal terminal = terminals.getTerminal(0);
// establish a connection with the card
Card card = terminal.connect<Card>();
Console.Write("ATR: ");
card.getATR().getBytes().ForEach(b => Console.Write("{0:X2} ", b));
Console.WriteLine();
CommandAPDU command = new CommandAPDU(cl);
ResponseAPDU response = card.getBasicChannel().transmit(command);
// disconnect
card.disconnect(false);
Product Compatible and additional computed target framework versions.
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.4 746 8/8/2019
2.0.2 496 8/6/2019
2.0.1 504 8/6/2019

Add some functionality