C# Class Core.WinRTSCard.Smartcard

This is a simple component to manage a smartcard Method are made synchronous because the service on the local machine and a smartcard although not very fast is a quite responsive device..
Show file Open project: orouit/SmartcardFramework Class Usage Examples

Public Methods

Method Description
Smartcard ( ) : System

Private Methods

Method Description
BeginTransaction ( ) : void

Begins a card transaction

Connect ( string reader, SHARE shareMode, PROTOCOL preferredProtocols ) : void

Connects to a card. Establishes a card session

Disconnect ( DISCONNECT disposition ) : void

Disconnect the current session

EndTransaction ( DISCONNECT disposition ) : void

Ends a card transaction

GetAttribute ( UInt32 attribId ) : byte[]

Gets the attributes of the card This command can be used to get the Answer to reset

ListReaders ( ) : string[]

Gets the list of readers REM: This method is not really at its place and should be in a seperate component. Maybe later if I have some time

Transmit ( APDUCommand apduCmd ) : APDUResponse

Transmit an APDU command to the card

Method Details

Smartcard() public method

public Smartcard ( ) : System
return System