Common base class to simplify the implementation of the ICardTerminal interface. This class is intended for card terminal manufacturers and not for application programmers.

Namespace: CardWerk.SmartCard
Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)

Public MustInherit Class CardTerminalBase 
Implements IDisposable, _ 
ICardTerminal
This language is not supported or no code example is available.
public abstract class CardTerminalBase : IDisposable
ICardTerminal
This language is not supported or no code example is available.
public ref class CardTerminalBase abstract  : public IDisposable^, 
public ICardTerminal^
This language is not supported or no code example is available.
public abstract class CardTerminalBase 
implements IDisposable
ICardTerminal
This language is not supported or no code example is available.
Name Description
Public property Config Boilerplate implementation of ICardTerminal.Config that simply returns the value of the protected member m_aConfig.
Public property FunctionalUnits Boilerplate implementation of ICardTerminal.FunctionalUnits that simply returns the value of the protected member m_nFunctionalUnits.
Public property InternalName Boilerplate implementation of ICardTerminal.InternalName that simply returns the value of the protected member m_sInternalName.
Public property ManufacturerName Boilerplate implementation of ICardTerminal.ManufacturerName that simply returns the value of the protected member m_sManufacturerName.
Public property PhysicalConnection Boilerplate implementation of ICardTerminal.PhysicalConnection that simply returns the value of the protected member m_sPhysicalConnection.
Public property ProductAdditionalInfo Boilerplate implementation of ICardTerminal.ProductAdditionalInfo that simply returns the value of the protected member m_sProductAdditionalInfo.
Public property ProductName Boilerplate implementation of ICardTerminal.ProductName that simply returns the value of the protected member m_sProductName.
Public property ProductSerialNumber Boilerplate implementation of ICardTerminal.ProductSerialNumber that simply returns the value of the protected member m_sProductSerialNumber.
Public property ProductVersion Boilerplate implementation of ICardTerminal.ProductVersion that simply returns the value of the protected member m_sProductVersion.
Public property Slots Boilerplate implementation of ICardTerminal.Slots that simply returns the value of the protected member m_nSlots.
Public property UserSlots Boilerplate implementation of ICardTerminal.UserSlots that simply returns the value of the protected member m_nUserSlots.
Top
Name Description
Public method BeginTransaction(int) Boilerplate implementation of ICardTerminal.BeginTransaction.
Public method ConnectCard(int, CardTypes, out byte[]) Boilerplate implementation of ICardTerminal.ConnectCard.
Public method DeliverCard(int, bool) Boilerplate implementation of ICardTerminal.DeliverCard.
Public method DisconnectCard(int) Boilerplate implementation of ICardTerminal.DisconnectCard.
Public method Dispose() Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public method EndTransaction(int) Boilerplate implementation of ICardTerminal.EndTransaction.
Public method Init(CardTerminalConfig) Boilerplate implementation of ICardTerminal.Init.
Public method IsCardPresent(int, ref bool) Boilerplate implementation of ICardTerminal.IsCardPresent.
Public method ReconnectCard(int, out byte[]) Boilerplate implementation of ICardTerminal.ReconnectCard.
Public method ResetCardTerminal() Boilerplate implementation of ICardTerminal.ResetCardTerminal.
Public method SendCommand(int, CardCommandAPDU) Boilerplate implementation of ICardTerminal.SendCommand.
Top

The CardWerk SmartCard framework currently includes two implementations of the ICardTerminal interface. One for CT-API driven card terminals and another for PC/SC Workgroup API driven card terminals. Both are derived from this base class. It is recommended, that third party card terminal suppliers who want to provide their own, optimized ICardTerminal implementation derive from this class, too.

.NET Framework

Supported in: 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

.NET Core

Supported in: 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0

.NET Standard

Supported in: 2.0