SmartCardApi Reference
CardWerk.SmartCard Namespace
CardCommandAPDU Class
CardCommandAPDU Constructor
CardCommandAPDU(byte, byte, byte, byte) Constructor
CardCommandAPDU(byte, byte, byte, byte, byte[]) Constructor
CardCommandAPDU(byte, byte, byte, byte, byte[], int) Constructor
CardCommandAPDU(byte, byte, byte, byte, int) Constructor
Properties
CLA Property
Case Property
INS Property
IsExtended Property
Lc Property
Le Property
P1 Property
P2 Property
Methods
AppendData Method
AppendData(byte) Method
AppendData(byte[]) Method
AppendData(byte[], int, int) Method
Clone Method
GenerateBytes Method
GetData Method
GetInstructionName Method
GetInstructionName(byte, byte) Method
GetInstructionName() Method
ParseBytes Method
ParseBytes(byte[]) Method
ParseBytes(byte[], int, int) Method
SetData Method
SetData(byte[]) Method
SetData(byte[], int, int) Method
ToString Method
Fields
MAXEXTENDEDLC Field
MAXEXTENDEDLE Field
MAXEXTENDEDLENGTH Field
MAXSHORTLC Field
MAXSHORTLE Field
MAXSHORTLENGTH Field
MINLENGTH Field
CardDataObject Class
CardDataObject Constructor
CardDataObject(int) Constructor
CardDataObject(int, byte[]) Constructor
Properties
IsConstructed Property
Length Property
List Property
Tag Property
Value Property
Methods
ComputeTotalSize Method
Find Method
Generate Method
GetBitStringValue Method
GetIntegerValue Method
GetStringValue Method
Parse Method
Parse(byte[], ref int, ref int, CardDataObjectEncoding) Method
Parse(byte[]) Method
ParseSimple Method
SetStringValue Method
ToString Method
CardDataObjectList Class
CardDataObjectList Constructor
Properties
Count Property
IsFixedSize Property
IsReadOnly Property
IsSynchronized Property
Item Property
SyncRoot Property
Methods
Add Method
Add(object) Method
Add(CardDataObject) Method
Add(int, byte[]) Method
Clear Method
ComputeTotalSize Method
Contains Method
CopyTo Method
Find Method
Generate Method
GetEnumerator Method
IndexOf Method
Insert Method
Parse Method
Parse(byte[], ref int, ref int, CardDataObjectEncoding) Method
Parse(byte[]) Method
ParseSimple Method
Remove Method
RemoveAt Method
CardHandle Class
Properties
CLA Property
IsInvalid Property
Slot Property
Methods
ChangePin Method
Disconnect Method
Dispose Method
GetATR Method
GetHistoricalBytes Method
ReadBinary Method
ReadBinary(byte, byte, byte) Method
ReadBinary(int, byte) Method
ReadRecord Method
Reset Method
SelectApplication Method
SelectDirectory Method
SelectFile Method
SelectRoot Method
SendCommand Method
UpdateBinary Method
UpdateRecord Method
VerifyPin Method
VerifyPin(CardPinControl, string) Method
VerifyPin(CardPinControl) Method
WriteBinary Method
CardISO7816 Class
Fields
CLA Field
CLA_PCSC3 Field
INS_APPEND_RECORD Field
INS_CHANGE_REFERENCE_DATA Field
INS_CREATE_FILE Field
INS_DELETE_FILE Field
INS_DISABLE_RETRY_COUNTER Field
INS_DISABLE_VERIFICATION_REQUIREMENT Field
INS_ENABLE_VERIFICATION_REQUIREMENT Field
INS_ENVELOPE Field
INS_ERASE_BINARY Field
INS_EXTERNAL_AUTHENTICATE Field
INS_GENERATE_PUBLIC_KEY_PAIR Field
INS_GET_CHALLENGE Field
INS_GET_DATA Field
INS_GET_RESPONSE Field
INS_INTERNAL_AUTHENTICATE Field
INS_MANAGE_CHANNEL Field
INS_MANAGE_SECURITY_ENVIRONMENT Field
INS_MUTUAL_AUTHENTICATE Field
INS_PERFORM_SECURITY_OPERATION Field
INS_PUT_DATA Field
INS_READ_BINARY Field
INS_READ_RECORD Field
INS_SELECT Field
INS_SELECT_FILE Field
INS_UPDATE_BINARY Field
INS_UPDATE_RECORD Field
INS_VERIFY Field
INS_WRITE_BINARY Field
INS_WRITE_RECORD Field
P1_SELECT_BY_PATH_FROM_CURRENT_DF Field
P1_SELECT_BY_PATH_FROM_MF Field
P1_SELECT_CHILD_DF Field
P1_SELECT_DIRECTLY_BY_DF_NAME Field
P1_SELECT_EF_UNDER_CURRENT_DF Field
P1_SELECT_MF_DF_EF Field
P1_SELECT_PARENT_OF_CURRENT_DF Field
PSO_P1_COMPUTE_CHECKSUM Field
PSO_P2_COMPUTE_CHECKSUM Field
CardIdentifierDescription Class
Properties
Identifier Property
Name Property
CardModuleBase Class
Properties
ATR Property
CardName Property
ErrorCode Property
ErrorMessage Property
IsReady Property
LicenseInfo Property
ModuleCardHandle Property
Version Property
VersionInfo Property
Methods
Connect Method
Disconnect Method
GetCardStandardIdentifier Method
CardPcScPart3 Class
CardPcScPart3 Constructor
Properties
CardIdentifierInfo Property
CardStandardInfo Property
IsContactless Property
IsStorageCard Property
PcscCardIdentifier Property
PcscCardStandardIdentifier Property
CardPcScPart3Constant Class
Fields
API_VERSION Field
CLA Field
INS_DECREMENT Field
INS_GENERAL_AUTHENTICATE Field
INS_GET_DATA Field
INS_INCREMENT Field
INS_INCREMENT_DECREMENT Field
INS_LOAD_KEY Field
INS_READ_DATA Field
INS_WRITE_DATA Field
KEY_NUMBER_INVALID Field
KEY_TYPE_INVALID Field
KEY_TYPE_MIFARE_A Field
KEY_TYPE_MIFARE_B Field
KEY_TYPE_PICOPASS_CREDIT Field
KEY_TYPE_PICOPASS_DEBIT Field
RID Field
CardPcScPart3KeyStructure Class
Fields
CARD_KEY Field
NON_VOLATILE_MEMORY Field
PLAIN_TRANSMISSION Field
READER_KEY Field
SECURED_TRANSMISSION Field
VOLATILE_MEMORY Field
CardPcScTerminal Class
CardPcScTerminal Constructor
CardPcScTerminal(SCardResourceManager, bool, string) Constructor
CardPcScTerminal(string) Constructor
CardPcScTerminal() Constructor
Properties
AccessMode Property
CardComm Property
CardResourceManager Property
IsClass2 Property
Methods
SendVerifyCommand Method
CardPcScTerminalBase Class
CardPcScTerminalBase Constructor
Properties
ATR Property
CanModifyPinSecure Property
CanVerifyPinSecure Property
TerminalSerialNumber Property
Methods
SendCommand Method
VerifyPinSecure Method
CardPinControl Class
CardPinControl Constructor
CardPinControl(CardCommandAPDU, PinEncodingIdentifier, int) Constructor
CardPinControl(CardCommandAPDU, PinEncodingIdentifier, int, int) Constructor
Properties
Encoding Property
IsAlphanumeric Property
MaxLength Property
MinLength Property
MustConfirm Property
Offset Property
Offset2 Property
PinBlockLength Property
Template Property
Methods
BuildCardCommandAPDU Method
BuildModifyCardCommandAPDU Method
BuildTerminalCommandAPDU Method
BuildTerminalModifyCommandAPDU Method
EncodePin Method
IsAcceptablePin Method
CardResponseAPDU Class
CardResponseAPDU Constructor
CardResponseAPDU(byte[], int, int, int) Constructor
CardResponseAPDU(byte[], int) Constructor
CardResponseAPDU(int) Constructor
Properties
IsCheckingError Property
IsError Property
IsExecutionError Property
IsExtended Property
IsSuccessful Property
IsWarning Property
Lr Property
SW Property
SW1 Property
SW2 Property
Methods
AppendData Method
Clone Method
GenerateBytes Method
GetData Method
ParseBytes Method
ParseBytes(byte[]) Method
ParseBytes(byte[], int, int) Method
SetData Method
SetData(byte[]) Method
SetData(byte[], int, int) Method
ToString Method
TruncateData Method
Fields
MAXEXTENDEDLENGTH Field
MAXEXTENDEDLR Field
MAXSHORTLENGTH Field
MAXSHORTLR Field
MINLENGTH Field
CardStandardDescription Class
Properties
Name Property
Standard Property
CardTerminalBase Class
Properties
Config Property
FunctionalUnits Property
InternalName Property
ManufacturerName Property
PhysicalConnection Property
ProductAdditionalInfo Property
ProductName Property
ProductSerialNumber Property
ProductVersion Property
Slots Property
UserSlots Property
Methods
BeginTransaction Method
ConnectCard Method
DeliverCard Method
DisconnectCard Method
Dispose Method
EndTransaction Method
Init Method
IsCardPresent Method
ReconnectCard Method
ResetCardTerminal Method
SendCommand Method
CardTerminalConfig Class
CardTerminalConfig Constructor
Properties
AssemblyName Property
AssignedName Property
ClassName Property
Config Property
Enabled Property
Type Property
UseSecurePin Property
Methods
Create Method
Equals Method
GetHashCode Method
Fields
CTAPICARDTERMINALCLASSNAME Field
MCARDCARDTERMINALCLASSNAME Field
PCSCCARDTERMINALCLASSNAME Field
CardTerminalEventArgs Class
Properties
Slot Property
CardTerminalException Class
CardTerminalException Constructor
CardTerminalException(CardTerminalExceptionCode) Constructor
CardTerminalException(CardTerminalExceptionCode, Exception) Constructor
CardTerminalException(CardTerminalExceptionCode, string) Constructor
Properties
ExceptionCode Property
CardTerminalManager Class
Properties
PollInterval Property
Registry Property
Singleton Property
SlotCount Property
SlotCountMinimum Property
StartedUp Property
Methods
CreateCardTerminal Method
DelistCardTerminal Method
EnlistCardTerminal Method
GetSlotNames Method
GetSlots Method
Shutdown Method
Startup Method
Startup(bool, bool, string) Method
Startup(bool, string) Method
Events
CardInsertedEvent Event
CardRemovedEvent Event
CardRequiresRemovalEvent Event
CardTerminalFoundEvent Event
CardTerminalLostEvent Event
CardTerminalSlot Class
Properties
ATR Property
CardTerminal Property
CardTerminalName Property
IsClass2 Property
SlotNumber Property
State Property
Methods
AcquireCard Method
BeginTransaction Method
EjectCard Method
EndTransaction Method
GetTerminalSerialNumber Method
ReconnectCard Method
SendCommand Method
SendVerifyCommand Method
ToString Method
SCardException Class
SCardException Constructor
Properties
Message Property
NativeSystemResponseCode Property
SCardPinBlock Class
Properties
Attributes Property
NbCharBitLength Property
NbCharBitOffset Property
NbCharMax Property
NbCharMin Property
PINBitOffset Property
PINBlockLength Property
SCardPinStructure Class
SCardPinStructure Constructor
Properties
ConfirmPin Property
Data Property
EntryValidationCondition Property
InsertionOffsetNew Property
InsertionOffsetOld Property
PinBlock Property
Timeout Property
Timeout2 Property
Methods
BuildModify Method
BuildPinVerify Method
SmartCardApiException Class
SmartCardApiException Constructor
SmartCardApiException(SmartCardApiExceptionCode, Exception) Constructor
SmartCardApiException(SmartCardApiExceptionCode) Constructor
SmartCardApiException(SmartCardApiExceptionCode, string) Constructor
Properties
Code Property
ICardTerminal Interface
Properties
Config Property
FunctionalUnits Property
InternalName Property
ManufacturerName Property
PhysicalConnection Property
ProductAdditionalInfo Property
ProductName Property
ProductSerialNumber Property
ProductVersion Property
Slots Property
UserSlots Property
Methods
BeginTransaction Method
ConnectCard Method
DeliverCard Method
DisconnectCard Method
EndTransaction Method
Init Method
IsCardPresent Method
ReconnectCard Method
ResetCardTerminal Method
SendCommand Method
CardTerminalEventHandler Delegate
CardActivationResult Enumeration
CardDataObjectEncoding Enumeration
CardIdentifier Enumeration
CardPosition Enumeration
CardStandardIdentifier Enumeration
CardTerminalExceptionCode Enumeration
CardTerminalFunctionalUnits Enumeration
CardTerminalSlotState Enumeration
CardTransactionResult Enumeration
CardTypes Enumeration
SCardAccessMode Enumeration
SCardChannelType Enumeration
SCardContextScope Enumeration
SCardControlCodes Enumeration
SCardDisposition Enumeration
SCardMechanicalCharacteristics Enumeration
SCardPinAttributes Enumeration
SCardProtocolIdentifiers Enumeration
SCardReaderState Enumeration
SCardResponseCode Enumeration
SmartCardApiExceptionCode Enumeration
CardWerk.SmartCard.Util Namespace
BitUtil Class
Methods
FromByteArray Method
LongFromByteArray Method
ReverseBitOrder Method
ShiftBit Method
ShiftBits Method
CardHex Class
Methods
AND Method
BitWiseAndForArray Method
BitWiseAndForArrayIsNotZero Method
Compare Method
Compare(byte[], byte[], int) Method
Compare(byte[], int, byte[], int, int) Method
DataToTrace Method
DataToTrace(byte[]) Method
DataToTrace(byte[], int, int) Method
FromBcd Method
FromByte Method
FromByteArray Method
FromByteArray(byte[], int, int, int) Method
FromByteArray(byte[]) Method
FromByteArray(byte[], int, int) Method
FromDigit Method
FromDword Method
FromWord Method
IsDigit Method
IsEqual Method
IsEqual(byte[], byte[]) Method
IsEqual(byte[], int, byte[], int, int) Method
IsHex Method
ToByteArray Method
ToByteArray(string) Method
ToByteArray(string, byte[], int) Method
ToDigit Method
XORN Method
CardStatusWord Class
Methods
Description Method
MszString Class
Methods
ConvertToMultiStringByteArray Method
MszToList Method
SplitMultiString Method
PinProcessing Class
PinEncodingIdentifier Enumeration
Methods
EncodeBcd Method
EncodePin Method
IsValidPinDigit Method