Class Hardware
Contains information about a piece of hardware in the terminal or devices attached to it. Immutable class.
Inheritance
System.Object
Hardware
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: SIX.TimApi
Assembly: TimApi.dll
Syntax
public class Hardware
Constructors
Hardware(HardwareType, String, DateTime, String, String, SecurityStatus, DateTime)
Create hardware information.
Declaration
public Hardware(HardwareType hardwareType, string serialNumber, DateTime productionDate, string productVersion, string firmwareVersion, SecurityStatus securityStatus, DateTime lastCleaningDate)
Parameters
Type | Name | Description |
---|---|---|
HardwareType | hardwareType | |
System.String | serialNumber | |
System.DateTime | productionDate | |
System.String | productVersion | |
System.String | firmwareVersion | |
SecurityStatus | securityStatus | |
System.DateTime | lastCleaningDate |
Properties
FirmwareVersion
Firmware version of the specified hardware.
Declaration
public string FirmwareVersion { get; }
Property Value
Type | Description |
---|---|
System.String |
HardwareType
Specifies the hardware.
Declaration
public HardwareType HardwareType { get; }
Property Value
Type | Description |
---|---|
HardwareType |
LastCleaningDate
Last Cleaning Date of the specified hardware. Available if HardwareType = ContactReader, MagStripeReader.
Declaration
public DateTime LastCleaningDate { get; }
Property Value
Type | Description |
---|---|
System.DateTime |
ProductionDate
Production date of the specified hardware.
Declaration
public DateTime ProductionDate { get; }
Property Value
Type | Description |
---|---|
System.DateTime |
ProductVersion
Product version of the specified hardware.
Declaration
public string ProductVersion { get; }
Property Value
Type | Description |
---|---|
System.String |
SecurityStatus
Security status of the specified hardware.
Declaration
public SecurityStatus SecurityStatus { get; }
Property Value
Type | Description |
---|---|
SecurityStatus |
SerialNumber
Serial number of the specified hardware.
Declaration
public string SerialNumber { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
ToString()
String representation.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()