pcsc-sharp : PCSC Namespace

CardStatusEventArgs Class

Information about a smart card reader status.

public class CardStatusEventArgs : EventArgs

Remarks

Requirements

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

Members

See Also: Inherited members from EventArgs.

Public Constructors

Documentation for this section has not yet been entered.
Documentation for this section has not yet been entered.

Public Fields

Atr byte[]. The card's ATR.
ReaderName string . The reader name.
State SCRState . The current reader status.

Member Details

CardStatusEventArgs Constructor

Documentation for this section has not yet been entered.

public CardStatusEventArgs ()

Remarks

Documentation for this section has not yet been entered.

Requirements

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

CardStatusEventArgs Constructor

Documentation for this section has not yet been entered.

public CardStatusEventArgs (string ReaderName, SCRState State, byte[] Atr)

Parameters

ReaderName
Documentation for this section has not yet been entered.
State
Documentation for this section has not yet been entered.
Atr
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

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

Atr Field

The card's ATR.

public byte[] Atr

Remarks

Requirements

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

ReaderName Field

The reader name.

public string ReaderName

Remarks

A human readable string of the reader name.

Requirements

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

State Field

The current reader status.

public SCRState State

Remarks

Is a bit mask containing one or more of the following values:

State Description
SCRState.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.
SCRState.Ignore This reader should be ignored
SCRState.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.
SCRState.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
SCRState.Unavailable The actual state of this reader is not available. If this bit is set, then all the following bits are clear.
SCRState.Empty There is no card in the reader. If this bit is set, all the following bits will be clear
SCRState.Present There is a card in the reader
SCRState.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.
SCRState.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.
SCRState.Mute There is an unresponsive card in the reader.

Requirements

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