Component: SmartCard 
---------------------

PCSC interface to SmartCard readers.

| Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|
| [6.3](newinversion63.md "First functions introduced with version 6.3.") / [10.5](newinversion105.md "Newest functions in version 10.5.") | ✅ Yes | ✅ Yes | ❌ No | ✅ 96%, on macOS and Windows | ❌ No |

  
| Item | Details | Server |
|:--|:--|:--|
| [SmartCard.Available](SmartCardAvailable.md)   Whether SmartCard API is available. | Mac/Win   6.3 | ✅ Server |
| [SmartCard.BeginTransaction](SmartCardBeginTransaction.md)   Starts a transaction. | Mac/Win   6.3 | ✅ Server |
| [SmartCard.Cancel](SmartCardCancel.md)   Terminates all outstanding actions within a specific resource manager context. | Mac/Win   6.3 | ✅ Server |
| [SmartCard.CancelTransaction](SmartCardCancelTransaction.md)   Cancels current transaction. | Mac/Win   6.3 | ✅ Server |
| [SmartCard.Connect](SmartCardConnect.md)   Connects to a smartcard. | Mac/Win   6.3 | ✅ Server |
| [SmartCard.Control](SmartCardControl.md)   Direct control of the reader. | Mac/Win   6.3 | ✅ Server |
| [SmartCard.Disconnect](SmartCardDisconnect.md)   Disconnects card. | Mac/Win   6.3 | ✅ Server |
| [SmartCard.EndTransaction](SmartCardEndTransaction.md)   Ends transaction. | Mac/Win   6.3 | ✅ Server |
| [SmartCard.GetActiveProtocol](SmartCardGetActiveProtocol.md)   Queries the active protocol. | Mac/Win   6.3 | ✅ Server |
| [SmartCard.GetAttribute](SmartCardGetAttribute.md)   Retrieves the current reader attribute. | Mac/Win   6.3 | ✅ Server |
| [SmartCard.HeaderTemplate](SmartCardHeaderTemplate.md)   Queries header template. | Mac/Win   6.4 | ❌ Server |
| [SmartCard.Init](SmartCardInit.md)   Initializes a smartcard context. | Mac/Win   6.3 | ✅ Server |
| [SmartCard.ListReaderGroups](SmartCardListReaderGroups.md)   Queries list of reader groups. | Mac/Win   6.3 | ✅ Server |
| [SmartCard.ListReaders](SmartCardListReaders.md)   Queries list of readers. | Mac/Win   6.3 | ✅ Server |
| [SmartCard.PerformSignature](SmartCardPerformSignature.md)   Performs signature. | Mac/Win   7.0 | ✅ Server |
| [SmartCard.ReadCertificate](SmartCardReadCertificate.md)   Reads certificate for smart cards. | Mac/Win   7.0 | ✅ Server |
| [SmartCard.ReadFile](SmartCardReadFile.md)   Read file from smart card with APDU protocol. | Mac/Win   8.5 | ✅ Server |
| [SmartCard.Reconnect](SmartCardReconnect.md)   Reconnects to smart card with different protocol. | Mac/Win   6.3 | ✅ Server |
| [SmartCard.Release](SmartCardRelease.md)   Releases context and all memory needed. | Mac/Win   6.3 | ✅ Server |
| [SmartCard.ReleaseAll](SmartCardReleaseAll.md)   Frees all SmartCard objects. | Mac/Win   10.5 | ✅ Server |
| [SmartCard.SetAttribute](SmartCardSetAttribute.md)   Sets the given reader attribute. | Mac/Win   6.3 | ✅ Server |
| [SmartCard.SplitValues](SmartCardSplitValues.md)   Split values read from smart card. | Mac/Win   8.5 | ✅ Server |
| [SmartCard.Status](SmartCardStatus.md)   Queries current status of smart card in reader. | Mac/Win   6.3 | ✅ Server |
| [SmartCard.Transmit](SmartCardTransmit.md)   Sends a service request to the smart card and expects to receive data back from the card. | Mac/Win   6.3 | ✅ Server |
| [SmartCard.TransmitReceiveHeader](SmartCardTransmitReceiveHeader.md)   Returns the receive header from last Transmit. | Mac/Win   6.3 | ✅ Server |
| [SmartCard.Valid](SmartCardValid.md)   Determines whether a smart card context handle is valid. | Mac/Win   6.3 | ✅ Server |

26 functions shown.

These functions require a license (88%).

### Release notes

- **Version 10.5**
    - Added [CFunction.ReleaseAll](https://www.mbsplugins.eu/CFunctionReleaseAll.shtml), [CGImageSource.ReleaseAll](https://www.mbsplugins.eu/CGImageSourceReleaseAll.shtml), [CLibrary.ReleaseAll](https://www.mbsplugins.eu/CLibraryReleaseAll.shtml), [DynaPDF.ReleaseAll](https://www.mbsplugins.eu/DynaPDFReleaseAll.shtml), [ECKey.ReleaseAll](https://www.mbsplugins.eu/ECKeyReleaseAll.shtml), [FSEvents.ReleaseAll](https://www.mbsplugins.eu/FSEventsReleaseAll.shtml), [MarkDown.ReleaseAll](https://www.mbsplugins.eu/MarkDownReleaseAll.shtml), [MenuItem.ReleaseAll](https://www.mbsplugins.eu/MenuItemReleaseAll.shtml), [SendMail.ReleaseAll](https://www.mbsplugins.eu/SendMailReleaseAll.shtml), [Shell.ReleaseAll](https://www.mbsplugins.eu/ShellReleaseAll.shtml), [SmartCard.ReleaseAll](https://www.mbsplugins.eu/SmartCardReleaseAll.shtml), [TouchBar.ReleaseAll](https://www.mbsplugins.eu/TouchBarReleaseAll.shtml), [UserNotification.ReleaseAll](https://www.mbsplugins.eu/UserNotificationReleaseAll.shtml), [WMFP.ReleaseAll](https://www.mbsplugins.eu/WMFPReleaseAll.shtml), [WMIQuery.ReleaseAll](https://www.mbsplugins.eu/WMIQueryReleaseAll.shtml) and [WindowsUserNotification.ReleaseAll](https://www.mbsplugins.eu/WindowsUserNotificationReleaseAll.shtml).
- **Version 10.2**
    - Fixed problem in [SmartCard.ReadFile](https://www.mbsplugins.eu/SmartCardReadFile.shtml) with MacOS Catalina.
- **Version 10.0**
    - Changed [SmartCard.SplitValues](https://www.mbsplugins.eu/SmartCardSplitValues.shtml) to hex encode binary values.
    - Fixed issue from 9.5 where [SmartCard.ReadFile](https://www.mbsplugins.eu/SmartCardReadFile.shtml) would not read last chunk correctly.
    - Improved code for [SmartCard.ReadFile](https://www.mbsplugins.eu/SmartCardReadFile.shtml) to read in chunks of 256 bytes instead of 255 bytes.
- **Version 9.5**
    - Improved code for [SmartCard.ReadFile](http://www.mbsplugins.eu/SmartCardReadFile.shtml) to work for more cards.
- **Version 8.5**
    - Added [SmartCard.ReadFile](http://www.mbsplugins.eu/SmartCardReadFile.shtml) and [SmartCard.SplitValues](http://www.mbsplugins.eu/SmartCardSplitValues.shtml) functions to read data from various smartcards (e.g. Swiss Health Insurance Card or Belgian Identity Card).
- **Version 7.1**
    - Changed [SmartCard.PerformSignature](http://www.mbsplugins.eu/SmartCardPerformSignature.shtml) to accept more than 20 bytes for hashes.
    - Fixed an issue with [SmartCard.PerformSignature](http://www.mbsplugins.eu/SmartCardPerformSignature.shtml) not returning signature correctly.
- **Version 7.0**
    - Added [SmartCard.PerformSignature](http://www.mbsplugins.eu/SmartCardPerformSignature.shtml) and [SmartCard.ReadCertificate](http://www.mbsplugins.eu/SmartCardReadCertificate.shtml) to handle a few card readers easier.
    - Made SendHeader parameter optional for [SmartCard.Transmit](http://www.mbsplugins.eu/SmartCardTransmit.shtml).

### Blog Entries

- [eID card reading via bluetooth on iOS](https://www.mbsplugins.de/archive/2019-11-13/eID_card_reading_via_bluetooth/monkeybreadsoftware_blog_filemaker)
- [Neues MBS FileMaker Plugin 8.5 - Über 5500 Funktionen in einem Plugin](https://www.mbsplugins.de/archive/2018-11-27/Neues_MBS_FileMaker_Plugin_85_/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 8.5 - More than 5500 Functions In One Plugin](https://www.mbsplugins.de/archive/2018-11-27/MBS_FileMaker_Plugin_85_-_More/monkeybreadsoftware_blog_filemaker)
- [5000 Functions in MBS Plugin](https://www.mbsplugins.de/archive/2017-11-11/5000_Functions_in_MBS_Plugin/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 7.0 - 4400 Funktionen in einem Plugin](https://www.mbsplugins.de/archive/2017-01-23/MBS_FileMaker_Plugin_70_-_4400/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 6.3 for OS X/Windows](https://www.mbsplugins.de/archive/2016-07-12/MBS_FileMaker_Plugin_63_for_OS/monkeybreadsoftware_blog_filemaker)

### FileMaker Magazin

- [Ausgabe 6/2020, Seite 25](https://filemaker-magazin.de/neuigkeit/4118-Appetithappen-FMM_202006)

### Example Databases

- [CURL/WebServices/eID Auto/eID Auto v2](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/CURL/WebServices/eID%20Auto/eID%20Auto%20v2.shtml#27ScriptAnchor_)
- [SmartCard/Belgian EID Reader](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/SmartCard/Belgian%20EID%20Reader.shtml#4ScriptAnchor_)
- [SmartCard/eID Auto v3](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/SmartCard/eID%20Auto%20v3.shtml#28ScriptAnchor_)
- [SmartCard/SmartCard ReadFile](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/SmartCard/SmartCard%20ReadFile.shtml#1ScriptAnchor_)
- [SmartCard/SmartCard Signatures](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/SmartCard/SmartCard%20Signatures.shtml#1ScriptAnchor_)

[HTML Version](component_SmartCard.shtml)