Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

SmartCard.BeginTransaction

Starts a transaction.

Component Version macOS Windows Linux Server iOS SDK
SmartCard 6.3 ✅ Yes ✅ Yes ❌ No ✅ Yes, on macOS and Windows ❌ No
MBS( "SmartCard.BeginTransaction"; SmartCardContext )   More

Parameters

Parameter Description Example
SmartCardContext The smartcard context reference number. $SmartCardContext

Result

Returns OK or error.

Description

Starts a transaction.
The function waits for the completion of all other transactions before it begins. After the transaction starts, all other applications are blocked from accessing the smart card while the transaction is in progress.

If a transaction is held on the card for more than five seconds with no operations happening on that card, then the card is reset. Calling any of the Smart Card and Reader Access Functions or Direct Card Access Functions on the card that is transacted results in the timer being reset to continue allowing the transaction to be used.
The BeginTransaction function is a smart card and reader access function. For more information about other access functions, see Smart Card and Reader Access Functions.

See also

This function checks for a license.

Created 13th June 2016, last changed 19th June 2016


SmartCard.Available - SmartCard.Cancel