Crescendo SDK
|
Represents a specific change that occurred to a smart card reader or token during monitoring. More...
Public Member Functions | |
ReaderChangeInfo (string readerName, ChangeType changeType, ReaderInfo? previousState=null, ReaderInfo? currentState=null) | |
Initializes a new instance of the CrescendoDLL.PCSC.ReaderChangeInfo class. | |
Properties | |
ChangeType | ChangeType [get, set] |
Gets or sets the type of change that occurred. | |
ReaderInfo? | CurrentState [get, set] |
Gets or sets the state of the reader after the change occurred. | |
ReaderInfo? | PreviousState [get, set] |
Gets or sets the state of the reader before the change occurred. | |
string | ReaderName [get, set] |
Gets or sets the name of the reader where the change occurred. | |
Represents a specific change that occurred to a smart card reader or token during monitoring.
This class provides detailed information about state changes detected by the PC/SC monitoring system, including both the previous and current states for comparison.
|
inline |
Initializes a new instance of the CrescendoDLL.PCSC.ReaderChangeInfo class.
readerName | The name of the reader where the change occurred. |
changeType | The type of change that occurred. |
previousState | The state before the change, if applicable. |
currentState | The state after the change, if applicable. |
The previousState and currentState parameters should be set appropriately based on the changeType :
null
, currentState = new state null
References CrescendoDLL.PCSC.ReaderChangeInfo.CurrentState, CrescendoDLL.PCSC.ReaderChangeInfo.PreviousState, and CrescendoDLL.PCSC.ReaderChangeInfo.ReaderName.
|
getset |
Gets or sets the type of change that occurred.
A CrescendoDLL.PCSC.ChangeType value indicating the specific type of change.
This property determines which of the state properties (CrescendoDLL.PCSC.ReaderChangeInfo.PreviousState, CrescendoDLL.PCSC.ReaderChangeInfo.CurrentState) contain valid data.
|
getset |
Gets or sets the state of the reader after the change occurred.
A CrescendoDLL.PCSC.ReaderInfo object representing the current state, or null
if the reader was removed.
This property is null
only for CrescendoDLL.PCSC.ChangeType.ReaderRemoved change type.
Referenced by CrescendoDLL.PCSC.ReaderChangeInfo.ReaderChangeInfo().
|
getset |
Gets or sets the state of the reader before the change occurred.
A CrescendoDLL.PCSC.ReaderInfo object representing the previous state, or null
if there was no previous state (e.g., reader addition).
This property is null
for CrescendoDLL.PCSC.ChangeType.ReaderAdded and CrescendoDLL.PCSC.ChangeType.Initial change types.
Referenced by CrescendoDLL.PCSC.ReaderChangeInfo.ReaderChangeInfo().
|
getset |
Gets or sets the name of the reader where the change occurred.
The system-assigned name of the PC/SC reader that experienced the change.
This corresponds to the CrescendoDLL.PCSC.ReaderInfo.ReaderName property of the affected reader.
Referenced by CrescendoDLL.PCSC.ReaderChangeInfo.ReaderChangeInfo().