SmartCard.HeaderTemplate
------------------------

Queries header template.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [SmartCard](component_SmartCard.md) | [6.4](newinversion64.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "SmartCard.HeaderTemplate"; Protocol ) 

**MBS**( **"SmartCard.HeaderTemplate";** /\* Queries header template. \*/  
**$Protocol**) /\* Which protocol you need a header.   
Can be T0, T1 or RAW.e.g. "T1" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Protocol | Which protocol you need a header.    Can be T0, T1 or RAW. | "T1" |

### Result

Returns text or error.

### Description

Queries header template.  
### Examples

Get T0 header:

 MBS ( "SmartCard.HeaderTemplate"; "T0" )  
Get T1 header:

 MBS ( "SmartCard.HeaderTemplate"; "T1" )  
### See also

- [SmartCard.ReadCertificate](SmartCardReadCertificate.md)

### Example Databases

- [SmartCard/Belgian EID Reader](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/SmartCard/Belgian%20EID%20Reader.shtml#5ScriptAnchor_)
- [SmartCard/SmartCard ReadFile](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/SmartCard/SmartCard%20ReadFile.shtml#2ScriptAnchor_)
- [SmartCard/SmartCard Signatures](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/SmartCard/SmartCard%20Signatures.shtml#2ScriptAnchor_)

### Blog Entries

- [MBS FileMaker Plugin, version 6.4pr3](https://www.mbsplugins.de/archive/2016-08-08/MBS_FileMaker_Plugin_version_6/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 3th August 2016 , last changed 9th November 2021

  
[SmartCard.GetAttribute](SmartCardGetAttribute.md) - [SmartCard.Init](SmartCardInit.md)

[HTML Version](SmartCardHeaderTemplate.shtml)