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

SmartCard.Disconnect

Disconnects card.

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

Parameters

Parameter Description Example
SmartCardContext The smartcard context reference number. $SmartCardContext
Disposition Action to take on the card in the connected reader on close.
Can be Leave, Reset, Unpower or Eject.
"Eject"

Result

Returns OK or error.

Description

Disconnects card.
Terminates a connection previously opened between the calling application and a smart card in the target reader.

Examples

Close it:

MBS( "SmartCard.Disconnect"; $card; "leave")

See also

Example Databases

Blog Entries

This function checks for a license.

Created 13th June 2016, last changed 3th August 2016


SmartCard.Control - SmartCard.EndTransaction