pcsc-sharp : PCSC Namespace

CardRemovedEvent Delegate

A card has been removed.

public delegate void CardRemovedEvent (object sender, CardStatusEventArgs 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 MyCardRemovedMethod.
monitor.CardRemoved += new CardRemovedEvent(MyCardRemovedMethod);

// 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