Table of Contents

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 string

The barcode scanned

timestamp DateTime

The timestamp the barcode was received or DateTime.MinValue if not timestamped

Properties

Barcode

Gets the barcode scanned

public string Barcode { get; }

Property Value

string

Timestamp

Gets the timestamp when the barcode was received or MinValue if not timestamped

public DateTime Timestamp { get; }

Property Value

DateTime

Methods

ToString()

Returns a string representation of this instance

public override string ToString()

Returns

string

A string representation of the barcode data