Click or drag to resize

CardScannedEventArgs Class

Arguments for the CardScanned notification. Contains the card data and the source device type. Return true from the handler to stop further processing by subsequent handlers.
Inheritance Hierarchy
SystemObject
  Resto.Front.Api.Data.DeviceCardScannedEventArgs

Namespace:  Resto.Front.Api.Data.Device
Assembly:  Resto.Front.Api.V10 (in Resto.Front.Api.V10.dll)
Syntax
C#
[SerializableAttribute]
public sealed class CardScannedEventArgs

The CardScannedEventArgs type exposes the following members.

Constructors
  NameDescription
Public methodCardScannedEventArgs
Initializes a new instance of the CardScannedEventArgs class
Top
Properties
  NameDescription
Public propertyData
Card data or barcode string that was read. Does not include suffixes or prefixes. For MSR devices, returns track 2 data.
Public propertyDeviceType
Type of the input device that produced this scan event.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also