Class DeviceRegistrationChecksumResult
- Namespace
- Geotab.Checkmate.ObjectModel.Registration.Gateway
- Assembly
- Geotab.Checkmate.ObjectModel.dll
Encapsulates a device registration checksum result via the Gateway.
public class DeviceRegistrationChecksumResult : RegistrationResult
- Inheritance
-
DeviceRegistrationChecksumResult
- Inherited Members
Remarks
The API will generate and throw exceptions. We will package them and add additional properties as applicable.
Constructors
DeviceRegistrationChecksumResult(Exception?, Jurisdiction?, DateTime?, (bool IsMatch, IEnumerable<int> HardwareIds))
Initializes a new instance of the DeviceRegistrationChecksumResult class.
public DeviceRegistrationChecksumResult(Exception? exception, Jurisdiction? attemptedJurisdiction, DateTime? attemptedDateTime, (bool IsMatch, IEnumerable<int> HardwareIds) checksumResult)
Parameters
exception
ExceptionThe exception to encapsulate.
attemptedJurisdiction
Jurisdiction?The jurisdiction requested.
attemptedDateTime
DateTime?The attempted registration date/time.
checksumResult
(bool IsMatch, IEnumerable<int> HardwareIds)The device registration checksum result.
Properties
HardwareIds
Gets a value indicating the hardware ID's currently registered with the Gateway.
public IEnumerable<int> HardwareIds { get; }
Property Value
- IEnumerable<int>
IEnumerable<T> The collection of registered device hardware ID's.
Remarks
This value will be populated if IsMatch is false.
IsKnownError
Gets a value indicating whether the error during the request is known.
public override bool? IsKnownError { get; }
Property Value
IsMatch
Gets a value indicating whether the checksums matched.
public bool IsMatch { get; }