Show / Hide Table of Contents

Interface ReaderEvents

Interface used to received smart card reader events.

Namespace: scmapi
Assembly: scmapi.dll
Syntax
public interface ReaderEvents

Methods

OnReaderAdded(Reader)

Called when a new reader is plugged on the device, or a bluetooth reader discovered.

Declaration
void OnReaderAdded(Reader reader)
Parameters
Type Name Description
Reader reader

the new reader object.

OnReaderRemoved(Reader)

Called when a reader is unplugged from the from the device.

Declaration
void OnReaderRemoved(Reader reader)
Parameters
Type Name Description
Reader reader

the removed reader object.

OnReaderStateChanged(Reader)

Called when the state of a reader changes (e.g instertion or withdrawal of a card, ...).

Declaration
void OnReaderStateChanged(Reader reader)
Parameters
Type Name Description
Reader reader

the affected reader object. Its properties can be consulted (GetStatus(), IsCardPresent(), ...) to obtain more information about the event.

Back to top Generated by DocFX