Begins a card transaction. Important for longer APDU exchanges (example: authentication + data access). This is a way for the host application to ensure that a block of APDU commands is processed completely before releasing a potentially shared smart card session to an external process.

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

Public Function BeginTransaction() As CardTransactionResult
This language is not supported or no code example is available.
public CardTransactionResult BeginTransaction()
This language is not supported or no code example is available.
public:  
CardTransactionResult BeginTransaction()
This language is not supported or no code example is available.
public function BeginTransaction() : CardTransactionResult;
This language is not supported or no code example is available.

Return Value

Type: CardTransactionResult

A CardTransactionResult.

Exception type Condition

CardTerminalException

Thrown when a Card Terminal error condition occurs.

Not all card terminal implementations support protected transaction.

.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