Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

SmartCard.SetAttribute

Sets the given reader attribute.

Component Version macOS Windows Linux Server iOS SDK
SmartCard 6.3 ✅ Yes ✅ Yes ❌ No ✅ Yes, on macOS and Windows ❌ No
MBS( "SmartCard.SetAttribute"; SmartCardContext; AttributeID; Value )   More

Parameters

Parameter Description Example
SmartCardContext The smartcard context reference number. $SmartCardContext
AttributeID The ID of the attribute.
Value The hex encoded data to be set.

Result

Returns OK or error.

Description

Sets the given reader attribute.
It does not affect the state of the reader, reader driver, or smart card. Not all attributes are supported by all readers (nor can they be set at all times) as many of the attributes are under direct control of the transport protocol.

See also

This function checks for a license.

Created 13th June 2016, last changed 19th June 2016


SmartCard.ReleaseAll - SmartCard.SplitValues