Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

SmartCard.Status

Queries current status of smart card in reader.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
SmartCard 6.3 Yes Yes Yes No No

MBS( "SmartCard.Status"; SmartCardContext; Selector )

Parameters

Parameter Description Example value
SmartCardContext The smartcard context reference number. $SmartCardContext
Selector Which value to query.
Can be ReaderName, State, Protocol or ATR.
"State"

Result

Returns value or error.

Description

Queries current status of smart card in reader.
You can call it any time after a successful call to SmartCard.Connect and before a successful call to SmartCard.Disconnect. It does not affect the state of the reader or reader driver.

If you ask for State, the result is Absent, Present, Swallowed, Powered, Negotiable or Specific.

Examples

Query reader name:

MBS( "SmartCard.Status"; $SmartCardContext; "ReaderName" )

See also

Example Databases


SmartCard.SetAttribute   -   SmartCard.Transmit

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins