Platforms to show: All Mac Windows Linux Cross-Platform

Back to TKSmartCardMBS class.

TKSmartCardMBS.AllowedProtocols as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SmartCard MBS Mac64bit Plugin 18.5 ✅ Yes ❌ No ❌ No ✅ Yes All
The protocols allowed for communication with the Smart Card.

kProtocolAny by default.
This property is consulted only when beginning a session to a Smart Card. Any changes to this property will not be reflected by the current session, if one is already established.
(Read and Write property)

TKSmartCardMBS.cla as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SmartCard MBS Mac64bit Plugin 18.5 ✅ Yes ❌ No ❌ No ✅ Yes All
The CLA byte used for APDU transmission.

0 by default.
(Read and Write property)

TKSmartCardMBS.Context as Variant

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SmartCard MBS Mac64bit Plugin 18.5 ✅ Yes ❌ No ❌ No ✅ Yes All
User-specified information.

This property is automatically set to nil if the Smart Card is removed or another TKSmartCardMBS object begins a session.
(Read and Write property)

TKSmartCardMBS.CurrentProtocol as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SmartCard MBS Mac64bit Plugin 18.5 ✅ Yes ❌ No ❌ No ✅ Yes All
The protocol used for communication with the Smart Card.

Returns kProtocolNone if no session is currently established.
(Read only property)

TKSmartCardMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SmartCard MBS Mac64bit Plugin 18.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Internal object reference.

(Read and Write property)

TKSmartCardMBS.Sensitive as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SmartCard MBS Mac64bit Plugin 18.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Whether sessions established for the Smart Card should be considered sensitive.

False by default.
When this property is set to true, any sessions established for the receiver will begin and end by sending a reset command to the Smart Card. This is recommended anytime potentially sensitive information is transferred.
(Read and Write property)

TKSmartCardMBS.Slot as TKSmartCardSlotMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SmartCard MBS Mac64bit Plugin 18.5 ✅ Yes ❌ No ❌ No ✅ Yes All
The slot in which the Smart Card is inserted.

(Read only property)

TKSmartCardMBS.UseCommandChaining as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SmartCard MBS Mac64bit Plugin 18.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Whether to use command chaining of APDU with a data field longer than 255 bytes.

By default, this property is set to true when the Smart Card ATR announces that command chaining is supported.
(Read and Write property)

TKSmartCardMBS.UseExtendedLength as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SmartCard MBS Mac64bit Plugin 18.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Whether to use extended length APDU.

By default, this property is set to true when the Smart Card slot supports transmitting extended length commands, and the ATR announces that extended length APDU is supported.
(Read and Write property)

TKSmartCardMBS.Valid as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SmartCard MBS Mac64bit Plugin 18.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Whether the Smart Card is valid and accessible from its slot.

(Read only property)

The items on this page are in the following plugins: MBS Mac64bit Plugin.


The biggest plugin in space...