The following tables list the members exposed by the CardHandle type.

Name Description
Public method ChangePin(CardPinControl, string, string) Performs PIN verify and PIN change.
Public method Disconnect() Disconnects the card and releases the card terminal slot.
Public method Dispose() Each instance of this class must be orderly disposed by invoking the IDispose.Dispose method when the handle to the card is no longer needed.
Public method GetATR() Returns the ATR of the card that this CardHandle controls.
Public method GetHistoricalBytes() Returns the Historical Bytes of the ATR of the card.
Public method ReadBinary(byte, byte, byte) Generic ISO 7816-4 command for reading data from a elementary file (EF) with transparent structure. The EF will be implicitly selected through a short file identifier (SFI).
Public method ReadBinary(int, byte) Generic ISO 7816-4 command for reading data from the currently selected elementary file with transparent structure.
Public method ReadRecord(byte, byte) Generic ISO 7816-4 command for reading a record from the currently selected elementary file with record structure.
Public method Reset() Fully reset the inserted card. This can be useful in order to recover from communication failures or card errors.
Public method SelectApplication(byte[]) Simplifies the selection of a card application.
Public method SelectDirectory(int) Generic ISO 7816-4 command for selecting a dedicated file DF.
Public method SelectFile(int) Generic ISO 7816-4 command for selecting an elementary file EF.
Public method SelectRoot() Generic ISO 7816-4 command for selecting the master file (MF).
Public method SendCommand(CardCommandAPDU) Sends the command APDU to the card or reader represented by this card handle and returns its response APDU.
Public method UpdateBinary(int, byte[]) Generic ISO 7816-4 command for updating data in the currently selected elementary file with transparent structure.
Public method UpdateRecord(byte, byte[]) Generic ISO 7816-4 command for updating data in the currently selected elementary file with record structure.
Public method VerifyPin(CardPinControl, string) Performs a PIN verification.
Public method VerifyPin(CardPinControl) Performs a PIN verification using secure PIN entry (SPE) capability of the card terminal.
Public method WriteBinary(int, byte[]) Generic ISO 7816-4 command for writing data to the currently selected elementary file with transparent structure.
Top