SpringCard PC/SC API for .NET  18.10.10
Access PC/SC couplers and smart cards from .NET applications
SpringCard.PCSC.ZeroDriver.SCardReaderList_CcidOverNetwork Class Reference
Inheritance diagram for SpringCard.PCSC.ZeroDriver.SCardReaderList_CcidOverNetwork:
SpringCard.PCSC.ZeroDriver.SCardReaderList_CcidOver SpringCard.PCSC.SCardReaderList

Public Member Functions

bool Start ()
 
void Stop ()
 
- Public Member Functions inherited from SpringCard.PCSC.ZeroDriver.SCardReaderList_CcidOver
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)
 
- Public Member Functions inherited from SpringCard.PCSC.SCardReaderList
 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)
 

Static Public Member Functions

static SCardReaderList_CcidOverNetwork Instantiate (string Address, ushort Port=3999, bool Start=true)
 
static void BackgroundInstantiate (BackgroundInstantiateCallback Callback, string Address, ushort Port=3999)
 

Protected Member Functions

bool OpenDevice (string HostName, ushort TcpPort=3999)
 
override void CloseDevice ()
 
override bool StartDevice ()
 
override void StopDevice ()
 Stop worker thread and put antenna off More...
 
override bool Send (byte endpoint, byte[] buffer)
 
- Protected Member Functions inherited from SpringCard.PCSC.ZeroDriver.SCardReaderList_CcidOver
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 ()
 

Additional Inherited Members

- Public Attributes inherited from SpringCard.PCSC.ZeroDriver.SCardReaderList_CcidOver
int CommandTimeout = 120000
 
RawMessageReceivedCallback OnRawControlIn = null
 
RawMessageReceivedCallback OnRawInterruptIn = null
 
RawMessageReceivedCallback OnRawBulkIn = null
 
DisconnectedCallback OnDisconnect = null
 
- Protected Types inherited from SpringCard.PCSC.ZeroDriver.SCardReaderList_CcidOver
enum  DeviceState { NotActive, Active, Error }
 
- Protected Attributes inherited from SpringCard.PCSC.ZeroDriver.SCardReaderList_CcidOver
DeviceState deviceState
 
AutoResetEvent CommandSyncEvent = new AutoResetEvent(false)
 
volatile bool ReadersReady = false
 
ChildReader [] Children
 
- Protected Attributes inherited from SpringCard.PCSC.SCardReaderList
string [] _reader_names
 
- Properties inherited from SpringCard.PCSC.ZeroDriver.SCardReaderList_CcidOver
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]
 
- Properties inherited from SpringCard.PCSC.SCardReaderList
string [] Readers [get]
 
uint LastError [get]
 
string LastErrorAsString [get]
 

Member Function Documentation

◆ StopDevice()

override void SpringCard.PCSC.ZeroDriver.SCardReaderList_CcidOverNetwork.StopDevice ( )
protectedvirtual

Stop worker thread and put antenna off

Parameters
connectedsend set configuration only if device still connected
Returns

Reimplemented from SpringCard.PCSC.ZeroDriver.SCardReaderList_CcidOver.


The documentation for this class was generated from the following file: