pcsc-sharp : PCSC Namespace

StatusChangeEvent Delegate

A general reader status change.

public delegate void StatusChangeEvent (object sender, StatusChangeEventArgs e)

Parameters

sender
The PCSC.SCardMonitor sender object.
e
Reader status information.

Remarks

C# Example
// Create a monitor object with its own PC/SC context.
SCardMonitor monitor = new SCardMonitor(
	new SCardContext(),
	SCardScope.System);

// Point the callback function(s) to the pre-defined method MyStatusChangedMethod.
monitor.StatusChanged += new StatusChangeEvent(MyStatusChangedMethod);

// Start to monitor the reader
monitor.Start("OMNIKEY CardMan 5x21 00 01");
  

Requirements

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