Class Hardware
Contains information about a piece of hardware in the terminal or devices attached to it. Immutable class.
Inheritance
Inherited Members
Namespace: SIX.TimApi
Assembly: TimApi.dll
Syntax
public class Hardware
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 | |
System.String | serialNumber | |
System.Nullable<System.DateTime> | productionDate | |
System.String | productVersion | |
System.String | firmwareVersion | |
SecurityStatus | securityStatus | |
System.Nullable<System.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 |
---|---|
System.String |
HardwareDescription
Hardware description.
Declaration
public string HardwareDescription { get; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.String |
Imei
Imei.
Declaration
public string Imei { get; }
Property Value
Type | Description |
---|---|
System.String |
Imsi
Imsi.
Declaration
public string Imsi { get; }
Property Value
Type | Description |
---|---|
System.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
[Obsolete("Use LastCleaningDateNullable instead since this property can return null value if not set.")]
public DateTime LastCleaningDate { get; }
Property Value
Type | Description |
---|---|
System.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<System.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
[Obsolete("Use ProductionDateNullable instead since this property can return null value if not set.")]
public DateTime ProductionDate { get; }
Property Value
Type | Description |
---|---|
System.DateTime |
ProductionDateNullable
Production date of the specified hardware.
Declaration
public DateTime? ProductionDateNullable { get; }
Property Value
Type | Description |
---|---|
System.Nullable<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 |