SpringCard PC/SC API for .NET  18.10.10
Access PC/SC couplers and smart cards from .NET applications
SpringCard.PCSC.ZeroDriver.SCardChannel_CcidOver Class Reference
Inheritance diagram for SpringCard.PCSC.ZeroDriver.SCardChannel_CcidOver:
SpringCard.PCSC.SCardChannel SpringCard.PCSC.ICardApduTransmitter SpringCard.PCSC.ICardTransmitter

Public Member Functions

 SCardChannel_CcidOver (SCardReaderList_CcidOver ReaderDevice, byte Slot)
 
override bool Connect ()
 Open the connection channel to the smart card (according to the specified Protocol, default is either T=0 or T=1)
 
override bool ConnectDirect ()
 Set ShareMode to SCARD.SHARE_DIRECT and Protocol to SCARD.PROTOCOL_NONE, and call Connect()
 
override bool Disconnect (uint disposition)
 Close the connection channel with the card. More...
 
override bool Reconnect (uint disposition)
 Keep the connection channel with the card open, but physically disconnect/reconnect the card. More...
 
override bool Transmit ()
 
override byte [] Control (byte[] cctrl)
 
- Public Member Functions inherited from SpringCard.PCSC.SCardChannel
delegate void TransmitDoneCallback (RAPDU rapdu)
 
 SCardChannel (uint Scope, string ReaderName)
 Create a SCardChannel for the given PC/SC scope and reader name.
 
 SCardChannel (string ReaderName)
 Create a SCardChannel for the given reader name.
 
 SCardChannel (SCardReader Reader)
 Create a SCardChannel from a existing SCardReader.
 
CardBuffer GetAtr ()
 
virtual bool ConnectExclusive ()
 Set ShareMode to SCARD.SHARE_EXCLUSIVE and call Connect()
 
virtual bool ConnectShared ()
 Set ShareMode to SCARD.SHARE_SHARED and call Connect()
 
void Disconnect ()
 Same as Disconnect(SCARD.RESET_CARD)
 
bool DisconnectEject ()
 Shortcut for Disconnect(SCARD.EJECT_CARD)
 
bool DisconnectUnpower ()
 Shortcut for Disconnect(SCARD.UNPOWER_CARD)
 
bool DisconnectReset ()
 Shortcut for Disconnect(SCARD.RESET_CARD)
 
bool DisconnectLeave ()
 Shortcut for Disconnect(SCARD.LEAVE_CARD)
 
void Reconnect ()
 Same as Reconnect(SCARD.RESET_CARD)
 
void ReconnectUnpower ()
 Shortcut for Reconnect(SCARD.UNPOWER_CARD)
 
void ReconnectReset ()
 Shortcut for Reconnect(SCARD.RESET_CARD)
 
void ReconnectLeave ()
 Shortcut for Reconnect(SCARD.LEAVE_CARD)
 
- Public Member Functions inherited from SpringCard.PCSC.ICardApduTransmitter
RAPDU Transmit (CAPDU capdu)
 
- Public Member Functions inherited from SpringCard.PCSC.ICardTransmitter
byte [] Transmit (byte[] command)
 

Protected Member Functions

override void UpdateState ()
 

Properties

override bool Connected [get]
 
override bool ConnectedDirect [get]
 
- Properties inherited from SpringCard.PCSC.SCardChannel
IntPtr hContext [get]
 The PC/SC context handle. See SCARD.CreateContext()
 
IntPtr hCard [get]
 The card handle. See SCARD.Connect()
 
string ReaderName [get]
 The name of the reader.
 
bool CardPresent [get]
 Is there a card in the reader?
 
bool CardAvailable [get]
 Is there a card in the reader, and the card has not been connected by another application yet?
 
CardBuffer CardAtr [get]
 The ATR of the card in the reader. null if no card is present.
 
virtual bool Connected [get]
 Is the SCardChannel object actually connected to a card?
 
virtual bool ConnectedDirect [get]
 Is the SCardChannel object directly connected to the reader?
 
uint Protocol [get, set]
 Card protocol. More...
 
string ProtocolAsString [get, set]
 Translation of Protocol to/from string. More...
 
uint ShareMode [get, set]
 Card share mode. More...
 
string ShareModeAsString [get, set]
 Translation of ShareMode to/from string. More...
 

Additional Inherited Members

- Protected Attributes inherited from SpringCard.PCSC.SCardChannel
string _reader_name
 
uint _active_protocol
 
uint _expect_protocols = SCARD.PROTOCOL_T0 | SCARD.PROTOCOL_T1
 
uint _share_mode = SCARD.SHARE_EXCLUSIVE
 
uint _reader_state
 
CAPDU _capdu
 
RAPDU _rapdu
 
CardBuffer _cctrl
 
CardBuffer _rctrl
 
CardBuffer _card_atr
 
uint _last_error
 

Member Function Documentation

◆ Disconnect()

override bool SpringCard.PCSC.ZeroDriver.SCardChannel_CcidOver.Disconnect ( uint  disposition)
virtual

Close the connection channel with the card.

The disposition parameter must take one of the following values:

Reimplemented from SpringCard.PCSC.SCardChannel.

◆ Reconnect()

override bool SpringCard.PCSC.ZeroDriver.SCardChannel_CcidOver.Reconnect ( uint  disposition)
virtual

Keep the connection channel with the card open, but physically disconnect/reconnect the card.

The disposition parameter must take one of the following values:

Reimplemented from SpringCard.PCSC.SCardChannel.


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