Partager via


Supported smart card attributes

The only supported attributes are listed below; all other attributes defined in the Winsmcrd.h are returned as STATUS_NOT_SUPPORTED. The attributes are described in Interoperability Specification for ICCs and Personal Computer Systems.

Reader Attributes

Attribute TagDescription
SCARD_ATTR_CURRENT_PROTOCOL_TYPESCARD_PROTOCOL_T1
SCARD_ATTR_CURRENT_CLK13560 (little endian integer of 13.56MHz)
SCARD_ATTR_CURRENT_D1
SCARD_ATTR_CURRENT_IFSC32
SCARD_ATTR_CURRENT_IFSD254
SCARD_ATTR_CURRENT_BWT4
SCARD_ATTR_DEFAULT_CLK13560
SCARD_ATTR_MAX_CLK13560
SCARD_ATTR_DEFAULT_DATA_RATE1
SCARD_ATTR_MAX_DATA_RATE1
SCARD_ATTR_CHARACTERISTICSSCARD_READER_CONTACTLESS
SCARD_ATTR_MAX_IFSD254
SCARD_ATTR_VENDOR_NAMEASCII string
SCARD_ATTR_VENDOR_IFD_TYPEASCII string
SCARD_ATTR_VENDOR_IFD_VERSION0x01000010, version 1.0.0.1
SCARD_ATTR_PROTOCOL_TYPESSCARD_PROTOCOL_T1
SCARD_ATTR_DEVICE_UNIT0
SCARD_ATTR_CHANNEL_IDDWORD encoded as 0xDDDDCCCC, where DDDD is the data channel type, and CCCC is the channel number. The following encodings are defined for DDDD:
0x0100 = NFC; CCCC is zero
0x0200 = UICC; CCCC is zero
0x0800 = Embedded SE; CCCC is zero
0xFXXX = Vendor-defined channel type; CCCC is vendor-defined

 

ICC Attributes

Attribute TagDescription
SCARD_ATTR_ICC_PRESENCE(1 byte) 0 = not present, 1 = card present
SCARD_ATTR_ATR_STRING(32 bytes) ATR string
SCARD_ATTR_ICC_TYPE_PER_ATR(1 byte)
0 = unknown type
5 = 14443A
6 = 14443B
7 = ISO-15693

 

Near field communication (NFC) design guide

Smart card design guide

 

 

Send comments about this topic to Microsoft