Class FirmwareMetadata
Represents information about the device, firmware version and hardware version numbers contained in a particular device or hex file.
public sealed class FirmwareMetadata : IEquatable<FirmwareMetadata>
- Inheritance
-
FirmwareMetadata
- Implements
- Inherited Members
Constructors
- FirmwareMetadata(string, HarpVersion, HarpVersion, HarpVersion, int?, int?)
Initializes a new instance of the FirmwareMetadata class with the specified device name, the firmware version and compatible hardware versions.
Properties
- AssemblyVersion
Gets the board assembly version of the device, or range of assembly versions supported by the firmware.
- CoreVersion
Gets the version of the Harp core implemented by the firmware.
- DeviceName
Gets the unique identifier of the device type on which the firmware should be installed.
- FirmwareVersion
Gets the version of the firmware contained in the device or hex file.
- HardwareVersion
Gets the hardware version of the device, or range of hardware versions supported by the firmware.
- PrereleaseVersion
Gets the optional prerelease number, for preview versions of the firmware.
Methods
- Equals(FirmwareMetadata)
Determines whether the specified metadata object is equal to the current metadata.
- Equals(object)
Determines whether the specified object is equal to the current metadata.
- GetHashCode()
Computes the hash code for the current metadata object.
- Parse(string)
Converts a string representation of the FirmwareMetadata to its equivalent value.
- Supports(string, HarpVersion, int)
Returns whether the firmware supports the specified hardware version and board assembly number.
- ToString()
Converts the FirmwareMetadata object to its equivalent string representation.
- TryParse(string, out FirmwareMetadata)
Converts a string representation of the FirmwareMetadata to its equivalent value. A return value indicates whether the conversion succeeded.
Operators
- operator ==(FirmwareMetadata, FirmwareMetadata)
Determines whether the values on both sides of the equality operator are equal.
- operator !=(FirmwareMetadata, FirmwareMetadata)
Determines whether the values on both sides of the inequality operator are not equal.