Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

TKSmartCardTokenSessionMBS.smartCard as TKSmartCardMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property SmartCard MBS Mac64bit Plugin 18.5 Yes No No Yes, macOS only No
Function: The smart card for the active exclusive session and selected application.
This property can only be accessed in the implementation of a TKTokenSessionDelegate protocol delegate method. If the associated token has a value set for the AID property, this property opens an exclusive session to the card, with the application already selected.

You should not call beginSession or endSession on the returned value. Instead, the system will take care of beginning the exclusive session and terminating it when the current token request servicing is finished.
You can store any kind of information representing state of the card using the context property. This property will be automatically set to nil if the card is reset or accessed by different TKSmartCard instance, such as by another process. You can check the context property for any previously stored values as a way to avoid costly state restoration before performing an operation.
(Read only property)

Feedback, Comments & Corrections

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

MBS Xojo PDF Plugins