|
bool | OpenDevice (string PortName) |
|
override void | CloseDevice () |
|
bool | StartDevice (bool UseInterrupts=true, bool UseLowPowerCardDetect=false) |
|
override bool | Send (byte endpoint, byte[] buffer) |
|
virtual void | StopDevice () |
|
virtual bool | StartDevice () |
|
bool | Recv (byte[] buffer, out int deal_done) |
|
void | Recv (byte endpoint, byte[] buffer) |
|
bool | sendControl (byte bRequest, ushort wValue=0, ushort wIndex=0, byte bOption=0) |
|
bool | WaitControl () |
|
virtual bool | GetDescriptors () |
|
uint | PC_to_RDR (byte slot, byte command, byte[] data=null) |
|
uint | PowerOn (byte slot) |
|
uint | PowerOff (byte slot) |
|
bool | MakeReaderList () |
|
|
delegate void | BackgroundInstantiateCallback (SCardReaderList_CcidOver instance) |
|
delegate bool | RawMessageReceivedCallback (byte[] Message) |
|
delegate void | DisconnectedCallback () |
|
override void | Release () |
|
bool | RawDescriptor (byte[] c_ctrl, out byte[] r_ctrl) |
|
bool | DoRawBulkOut (byte[] buffer) |
|
uint | GetStatusChange (int slot, ref uint state, int timeout) |
|
uint | GetState (byte slot, uint state) |
|
uint | State (byte slot) |
|
uint | GetSlotStatus (byte slot, out uint state) |
|
uint | Transmit (byte slot, byte[] c_apdu, out byte[] r_apdu) |
|
uint | Control (byte slot, byte[] c_ctrl, out byte[] r_ctrl) |
|
uint | ConnectTo (byte slot) |
|
uint | ConnectDirectTo (byte slot) |
|
uint | DisconnectFrom (byte slot, bool bPowerDown=true) |
|
new SCardReader_CcidOver | GetReader (int slot) |
|
byte [] | GetAtr (byte slot) |
|
| SCardReaderList (uint Scope, string Groups) |
|
| SCardReaderList (string[] reader_names) |
|
delegate void | StatusChangeCallback (string ReaderName, uint ReaderState, CardBuffer CardAtr) |
|
void | StartMonitor (StatusChangeCallback callback) |
|
void | StopMonitor () |
|
bool | Contains (string ReaderName) |
|
SCardReader | GetReader (int index) |
|
SCardReader | GetReader (string reader_name) |
|
int | CommandTimeout = 120000 |
|
RawMessageReceivedCallback | OnRawControlIn = null |
|
RawMessageReceivedCallback | OnRawInterruptIn = null |
|
RawMessageReceivedCallback | OnRawBulkIn = null |
|
DisconnectedCallback | OnDisconnect = null |
|
enum | DeviceState { NotActive,
Active,
Error
} |
|
DeviceState | deviceState |
|
AutoResetEvent | CommandSyncEvent = new AutoResetEvent(false) |
|
volatile bool | ReadersReady = false |
|
ChildReader [] | Children |
|
string [] | _reader_names |
|
string | VendorName [get, protected set] |
|
string | ProductName [get, protected set] |
|
string | SerialNumber [get, protected set] |
|
string | Version [get, protected set] |
|
int | SlotCount [get, protected set] |
|
virtual bool | Available [get] |
|
string [] | Readers [get] |
|
uint | LastError [get] |
|
string | LastErrorAsString [get] |
|