Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
SmartCard.Status
Queries current status of smart card in reader.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| SmartCard | 6.3 | Yes | Yes | No | Yes | No |
MBS( "SmartCard.Status"; SmartCardContext; Selector ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| 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
Created 13th June 2016, last changed 18th June 2016
SmartCard.SplitValues - SmartCard.Transmit
Feedback: Report problem or ask question.
Links
MBS FileMaker blog