Class Hardware
Contains information about a piece of hardware in the terminal or devices attached to it. Immutable class.
Inheritance
Namespace: SIX.TimApi
Assembly: TimApi.dll
Syntax
public class Hardware : object
Constructors
Hardware(HardwareType, String, Nullable<DateTime>, String, String, SecurityStatus, Nullable<DateTime>, String, String, String, String, String)
Create hardware information.
Declaration
public Hardware(HardwareType hardwareType, String serialNumber, DateTime? productionDate, String productVersion, String firmwareVersion, SecurityStatus securityStatus, DateTime? lastCleaningDate, string imsi, string imei, string iccid, string hardwareAddress, string hardwareDescription)
Parameters
Type | Name | Description |
---|---|---|
HardwareType | hardwareType | |
String | serialNumber | |
System.Nullable<DateTime> | productionDate | |
String | productVersion | |
String | firmwareVersion | |
SecurityStatus | securityStatus | |
System.Nullable<DateTime> | lastCleaningDate | |
System.String | imsi | |
System.String | imei | |
System.String | iccid | |
System.String | hardwareAddress | |
System.String | hardwareDescription |
Properties
FirmwareVersion
Firmware version of the specified hardware.
Declaration
public string FirmwareVersion { get; }
Property Value
Type | Description |
---|---|
System.String |
HardwareAddress
Hardware address.
Declaration
public String HardwareAddress { get; }
Property Value
Type | Description |
---|---|
String |
HardwareDescription
Hardware description.
Declaration
public String HardwareDescription { get; }
Property Value
Type | Description |
---|---|
String |
HardwareType
Specifies the hardware.
Declaration
public HardwareType HardwareType { get; }
Property Value
Type | Description |
---|---|
HardwareType |
Iccid
Iccid.
Declaration
public String Iccid { get; }
Property Value
Type | Description |
---|---|
String |
Imei
Imei.
Declaration
public String Imei { get; }
Property Value
Type | Description |
---|---|
String |
Imsi
Imsi.
Declaration
public String Imsi { get; }
Property Value
Type | Description |
---|---|
String |
LastCleaningDate
Last Cleaning Date of the specified hardware. Available if HardwareType = ContactReader, MagStripeReader.
Note: Value can be not send by the EFT. In thise case DateTime.MinValue is returned. Deprecated! Use LastCleaningDateNullable instead since this property can return null value if not set.
Declaration
public DateTime LastCleaningDate { get; }
Property Value
Type | Description |
---|---|
DateTime |
LastCleaningDateNullable
Last Cleaning Date of the specified hardware. Available if HardwareType = ContactReader, MagStripeReader.
Declaration
public DateTime? LastCleaningDateNullable { get; }
Property Value
Type | Description |
---|---|
System.Nullable<DateTime> |
ProductionDate
Production date of the specified hardware.
Note: Value can be not send by the EFT. In thise case DateTime.MinValue is returned. Deprecated! Use ProductionDateNullable instead since this property can return null value if not set.
Declaration
public DateTime ProductionDate { get; }
Property Value
Type | Description |
---|---|
DateTime |
ProductionDateNullable
Production date of the specified hardware.
Declaration
public DateTime? ProductionDateNullable { get; }
Property Value
Type | Description |
---|---|
System.Nullable<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 |
---|---|
String |