This enumeration defines the protocols used in communication with the card.
Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Namespace: CardWerk.SmartCardAssembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)
Member name | Description | |
---|---|---|
Any | Convenience value to allow T=0 or T=1 | |
Default | Special value to provide a hint to reader that it should use default communication parameters to establish communication with the card. This is equivalent to the PC/SC constant SCARD_PROTOCOL_DEFAULT. | |
Optimal | Provides hint to reader that it should attempt to negotiate optimal communications settings with the card. This is equivalent to the PC/SC constant SCARD_PROTOCOL_OPTIMAL. | |
Raw | Used for direct access. This is equivalent to the PC/SC constant SCARD_PROTOCOL_RAW. | |
T0 | ISO/IEC 7186 T=0 protocol. This is equivalent to the PC/SC constant SCARD_PROTOCOL_T0. | |
T1 | ISO/IEC 7816 T=1 protocol. This is equivalent to the PC/SC constant SCARD_PROTOCOL_T1. | |
Undefined | All zero value that indicates that the protocol is not defined or known, yet. This is equivalent to the PC/SC constant SCARD_PROTOCOL_UNDEFINED. |
These enum values are defined such that a protocol maps to a specific bit position so
that multiple protocols may be specified by combining them with a bitwise OR operation.