User's Manual

CAEN RFID API Reference Manual
112
C# Event Handling
CAENRFIDEventArgs Class
The CAENRFIDEventArgs class defines the CAENRFID event arguments.
getData Method
Description:
This method returns the event object value.
Return value:
The value of the event object.
Syntax:
C# representation:
public CAENRFIDNotify[] getData()
CAENRFIDEventHandler Delegate
CAENRFIDEventHandler delegate declaration.
Parameters:
Name
Description
Event
the Data Event.
Syntax:
C# representation:
public delegate void CAENRFIDEventHandler(
object Sender,
CAENRFIDEventArgs Event)
CAENRFIDEvent Event
The CAEN RFID event is generated by the library each time tag data arrives from the reader. The event is generated
only when the EventInventoryTag method is used. It is an event of the Reader Class.
Syntax:
C# representation:
public event CAENRFIDEventHandler CAENRFIDEvent
Event Data
The event handler receives an argument of type CAENRFIDEventArgs containing data related to this event. The
following CAENRFIDEventArgs property provides information specific to this event.
Property
Description
Data
Represents the event object value.