pcsc-sharp : PCSC Namespace

SCRState Enum

Reader state.

[System.Flags]
public enum SCRState

Remarks

Members

Member Name Description
ATRMatch There is a card in the reader with an ATR matching one of the target cards. If this bit is set, SCRState.Present will also be set. This bit is only returned on the SCardLocateCards() function. (SCARD_STATE_ATRMATCH)
Changed There is a difference between the state believed by the application, and the state known by the resource manager. When this bit is set, the application may assume a significant state change has occurred on this reader. (SCARD_STATE_CHANGED)
Empty There is no card in the reader. If this bit is set, all the following bits will be clear. (SCARD_STATE_EMPTY)
Exclusive The card in the reader is allocated for exclusive use by another application. If this bit is set, SCRState.Present will also be set. (SCARD_STATE_EXCLUSIVE)
Ignore This reader should be ignored. (SCARD_STATE_IGNORE)
InUse The card in the reader is in use by one or more other applications, but may be connected to in shared mode. If this bit is set, SCRState.Present will also be set. (SCARD_STATE_INUSE)
Mute There is an unresponsive card in the reader. (SCARD_STATE_MUTE)
Present There is a card in the reader. (SCARD_STATE_PRESENT)
Unavailable The actual state of this reader is not available. If this bit is set, then all the following bits are clear. (SCARD_STATE_UNAVAILABLE)
Unaware The application is unaware of the current state, and would like to know. The use of this value results in an immediate return from state transition monitoring services. This is represented by all bits set to zero. (SCARD_STATE_UNAWARE)
Unknown The given reader name is not recognized by the resource manager. If this bit is set, then SCRState.Changed and SCRState.Ignore will also be set. (SCARD_STATE_UNKNOWN)
Unpowered The card is unpowered. (SCARD_STATE_UNPOWERED)

Requirements

Namespace: PCSC
Assembly: pcsc-sharp (in pcsc-sharp.dll)
Assembly Versions: 1.0.0.0, 2.0.0.0, 2.0.0.1