Table of Contents

Class VersionInformation

Namespace
Iot.Device.Sps30.Entities
Assembly
Iot.Device.Sps30.dll

Parsed response after requesting version information.

public class VersionInformation
Inheritance
VersionInformation

Constructors

VersionInformation(byte[])

Initializes a new instance of the VersionInformation class.

public VersionInformation(byte[] data)

Parameters

data byte[]

Raw data from the response.

Exceptions

ArgumentOutOfRangeException

When less than 7 bytes are provided.

Properties

FirmwareVersion

Gets firmware version.

public Version FirmwareVersion { get; }

Property Value

Version

HardwareRevision

Gets hardware rivision.

public int HardwareRevision { get; }

Property Value

int

ShdlcProtocolVersion

Gets SHDLC protocol version.

public Version ShdlcProtocolVersion { get; }

Property Value

Version

Methods

ToString()

Conveniently show the version information in a single string.

public override string ToString()

Returns

string

The version information as a convenient string.