Base class for CardWerk.SmartCard.CardModule classes.

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

Public MustInherit Class CardModuleBase
This language is not supported or no code example is available.
public abstract class CardModuleBase
This language is not supported or no code example is available.
public ref class CardModuleBase abstract 
This language is not supported or no code example is available.
public abstract class CardModuleBase
This language is not supported or no code example is available.
Name Description
Public property ATR Answer to reset (ATR) of the powered-up card that is currently inserterd or detected by the card reader.
Public property CardName The name of the card.
Public property ErrorCode Error code.
Public property ErrorMessage Error message that can be populated if anything unexpected happens inside the card module. Use this whenever the caller receives an unexpected return value. Example: empty byte array.
Public property IsReady Indicates that the card module is ready to process further commands. This means that the card is powered up and likely to be the expected card type.
Public property LicenseInfo Default implementation of a LicenseInfo string
Public property ModuleCardHandle ModuleCardHandle provides access to the internal SmartCardAPI CardHandle.
Public property Version The card module version.
Public property VersionInfo Quick access to the CardModule name, Version and license type. base class.
Top
Name Description
Public method Connect(CardIdentifier) Smart connect method to check if the requested card type/technology is supported on library and reader level. We ensure that we are connected to a genuine card. For readers that don't come with a PCSC2 compatible driver, pcsc2enabled needs to be set to false.
Public method Disconnect() Disconnects the card. This also releases internal, native resources.
Public method GetCardStandardIdentifier() Gets card standard identifier.
Top

.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