Predefined control codes for the Control method.

Namespace: CardWerk.SmartCard
Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)

  Member name Description
Absent IOCTL_SMARTCARD_IS_ABSENT
Confiscate IOCTL_SMARTCARD_CONFISCATE
Eject IOCTL_SMARTCARD_EJECT
GetAttribute IOCTL_SMARTCARD_GET_ATTRIBUTE
GetLastError IOCTL_SMARTCARD_GET_LAST_ERROR
GetPerfCounter IOCTL_SMARTCARD_GET_PERF_CNTR
Power IOCTL_SMARTCARD_POWER
Present IOCTL_SMARTCARD_IS_PRESENT
Protocol IOCTL_SMARTCARD_SET_PROTOCOL
Read IOCTL_SMARTCARD_READ
SetAttribute IOCTL_SMARTCARD_SET_ATTRIBUTE
State IOCTL_SMARTCARD_GET_STATE
Swallow IOCTL_SMARTCARD_SWALLOW
Transmit IOCTL_SMARTCARD_TRANSMIT
Write IOCTL_SMARTCARD_WRITE
These are the control codes as they are defined in the winsmcrd.h header file. Any additional proprietary control codes can be easily produced by the static SCardCtlCode method, that resembles the behaviour of the SCARD_CTL_CODE macro also from winsmcrd.h.