Table of Contents

Class SemVersionExtension

Namespace
Huddly.Sdk.Extensions
Assembly
Huddly.Sdk.dll
[Obsolete("Avoid comparing SemVersions, use FirmwareVersion.CompareTo. Method will be removed in SDK version 3.")]
public static class SemVersionExtension
Inheritance
SemVersionExtension
Inherited Members

Methods

EqualTo(SemVersion, SemVersion)

Returns version equality without taking SemVer metadata into account

[Obsolete("Avoid comparing SemVersions, use FirmwareVersion.CompareTo. Method will be removed in SDK version 3.")]
public static bool EqualTo(this SemVersion current, SemVersion other)

Parameters

current SemVersion
other SemVersion

Returns

bool

GreaterThan(SemVersion, SemVersion)

[Obsolete("Avoid comparing SemVersions, use FirmwareVersion.CompareTo. Method will be removed in SDK version 3.")]
public static bool GreaterThan(this SemVersion current, SemVersion other)

Parameters

current SemVersion
other SemVersion

Returns

bool

GreaterThanOrEqualTo(SemVersion, SemVersion)

[Obsolete("Avoid comparing SemVersions, use FirmwareVersion.CompareTo. Method will be removed in SDK version 3.")]
public static bool GreaterThanOrEqualTo(this SemVersion current, SemVersion other)

Parameters

current SemVersion
other SemVersion

Returns

bool

LessThan(SemVersion, SemVersion)

[Obsolete("Avoid comparing SemVersions, use FirmwareVersion.CompareTo. Method will be removed in SDK version 3.")]
public static bool LessThan(this SemVersion current, SemVersion other)

Parameters

current SemVersion
other SemVersion

Returns

bool

LessThanOrEqualTo(SemVersion, SemVersion)

[Obsolete("Avoid comparing SemVersions, use FirmwareVersion.CompareTo. Method will be removed in SDK version 3.")]
public static bool LessThanOrEqualTo(this SemVersion current, SemVersion other)

Parameters

current SemVersion
other SemVersion

Returns

bool