Class BarcodeEventArgs
- Namespace
- TechnologySolutions.Rfid.AsciiProtocol
- Assembly
- TechnologySolutions.Rfid.AsciiProtocol.Core.dll
EventArgs where a barcode has been scanned
public class BarcodeEventArgs : EventArgs
- Inheritance
-
BarcodeEventArgs
- Inherited Members
Constructors
BarcodeEventArgs(string, DateTime)
Initializes a new instance of the BarcodeEventArgs class
public BarcodeEventArgs(string barcode, DateTime timestamp)
Parameters
barcode
stringThe barcode scanned
timestamp
DateTimeThe timestamp the barcode was received or DateTime.MinValue if not timestamped
Properties
Barcode
Gets the barcode scanned
public string Barcode { get; }
Property Value
Timestamp
Gets the timestamp when the barcode was received or MinValue if not timestamped
public DateTime Timestamp { get; }
Property Value
Methods
ToString()
Returns a string representation of this instance
public override string ToString()
Returns
- string
A string representation of the barcode data