Method IsDmsHigherThanMinimum
- Namespace
- Skyline.AppInstaller
- Assembly
- Skyline.DataMiner.Core.AppPackageInstaller.dll
IsDmsHigherThanMinimum(string, string)
Determines whether the specified DataMiner version is higher than or equal to a given minimum version.
public static bool IsDmsHigherThanMinimum(string dataminerVersion, string minimumDmaVersion)
Parameters
dataminerVersion
stringThe current DataMiner version, in the format "A.B.C.D-Build". The build part is optional. Example: "10.3.0.0-12345".
minimumDmaVersion
stringThe minimum required DataMiner version, in the same format as above.
Returns
- bool
true
if the current DataMiner version is higher than or equal to the specified minimum; otherwise,false
.
Remarks
This method compares both the version number and the build number (if present).
If either version string is invalid, a warning is logged and the method returns false
.