The CardReaderObserver type exposes the following members.

Methods

  NameDescription
Public methodAddCardEventHandler(CardEventHandler)
Register card event handler to be notified about card insertion and removal events.
Public methodAddCardEventHandler(CardEventHandler, ISynchronizeInvoke)
Register card event handler to be notified about card insertion and removal events.
Public methodAddCardEventHandler(CardEventHandler, ISynchronizeInvoke, ICardSelector, array<ICardReader>[]()[][])
Register card event handler to be notified about card insertion and removal events.
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Stop card reader observer if not already stopped.
(Overrides Object..::..Finalize()()()().)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodInitService
Make none initialized service instance use specified card connection
Public methodInterruptWaitForCard
Interrupt all or certain WaitForCard or WaitForCardService calls.
Protected methodMemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Public methodRemoveCardEventHandler
Remove card event handler.
Public methodRemoveService
Remove a card service from service in use list.
Public methodRequestCard
Request a card.
Public methodResume
Enable the observer again once disabled with suspend.
Public methodStart()()()()
Start observing the card reader. Automatically stop observer when program exits.
Public methodStart(Boolean)
Start observing the card readers. If autoShutdown is true the observer is stopped automatically when program exits.
Public methodStop
Stop observing the card reader.
Public methodSuspend
Temporary disable (suspend) the observer.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWaitForCard(ICardSelector, TimeSpan, Boolean)
Public methodWaitForCard(ICardSelector, TimeSpan, Boolean, array<ICardReader>[]()[][])
Public methodWaitForCardService(ICardService, TimeSpan)
Public methodWaitForCardService(ICardService, TimeSpan, array<ICardReader>[]()[][])

Properties

  NameDescription
Public propertyStatic memberInstance
Use this property to get access to the single observer instance.
Public propertyObservableReaders
In general when the observer is started all available readers are monitored. You may use this property to monitor a certain set of card readers only.
Public propertyObserverState
Current observer state.

See Also