A structures that contains the old and the new Smart Card reader status.
Is used as parameter in SCardContext.GetStatusChange(IntPtr, SCardReaderState[]).
The new event state will be contained in SCardReaderState.EventState. A status change might be a card insertion or removal event, a change in ATR, etc. To wait for a reader event (reader added or removed) you may use the special reader name "\\?PnP?\Notification". If a reader event occurs the state of this reader will change and the bit SCRState.Changed will be set.
Namespace: PCSC
Assembly: pcsc-sharp (in pcsc-sharp.dll)
Assembly Versions: 1.0.0.0, 2.0.0.0, 2.0.0.1
See Also: Inherited members from object.
⊟ Public Constructors
Creates a new Smart Card reader status object. ⊟ Public Properties
ATR byte[]. ATR Value. CardChangeEventCnt int . Documentation for this section has not yet been entered. CurrentState SCRState . Current state of reader. CurrentStateValue IntPtr . Current state of reader. EventState SCRState . Reader state after a state change. EventStateValue IntPtr . Reader state after a state change. ReaderName string . The reader name. UserData long . User defined data. UserDataPointer IntPtr . User defined data. ⊟ Public Methods
⊟ SCardReaderState Constructor
Creates a new Smart Card reader status object.
public SCardReaderState ()⊟ 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
⊟ ATR Property
ATR Value.
public byte[] ATR { set; get; }⊟ Value
⊟ 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
⊟ CardChangeEventCnt Property
Documentation for this section has not yet been entered.
public int CardChangeEventCnt { set; get; }⊟ Value
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
⊟ CurrentState Property
Current state of reader.
public SCRState CurrentState { set; get; }⊟ Value
⊟ 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
⊟ CurrentStateValue Property
Current state of reader.
public IntPtr CurrentStateValue { set; get; }⊟ Value
⊟ 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
⊟ Dispose Method
Documentation for this section has not yet been entered.
public void Dispose ()⊟ 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
⊟ EventState Property
Reader state after a state change.
public SCRState EventState { set; get; }⊟ Value
⊟ 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
⊟ EventStateValue Property
Reader state after a state change.
public IntPtr EventStateValue { set; get; }⊟ Value
⊟ 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
⊟ Finalize Method
Documentation for this section has not yet been entered.
void Finalize ()⊟ 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
⊟ ReaderName Property
The reader name.
public string ReaderName { set; get; }⊟ Value
⊟ 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
⊟ UserData Property
User defined data.
public long UserData { set; get; }⊟ Value
⊟ 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
⊟ UserDataPointer Property
User defined data.
public IntPtr UserDataPointer { set; get; }⊟ Value
⊟ Remarks
⊟ Requirements
Namespace: PCSC
Assembly: pcsc-sharp (in pcsc-sharp.dll)
Assembly Versions: 2.0.0.1