Method IsVersionHigher
- Namespace
- Skyline.DataMiner.Core.DataMinerSystem.Common
- Assembly
- Skyline.DataMiner.Core.DataMinerSystem.Common.dll
IsVersionHigher(string)
Verifies if the provided version number is higher than the DataMiner Agent version. Only supports the formats "V.W.X.Y" or "V.W.X.Y-CUZ" where V, W, X, Y and Z are numbers. However, the CU is ignored in the comparison.
bool IsVersionHigher(string versionNumber)
Parameters
versionNumberstringThe version number to compare against the version of the DMA.
Returns
- bool
trueif the specified version number is higher than the version of this DataMiner Agent; otherwise,false.
Remarks
This comparison completely ignores the concept of CUs, so only the 4 numbers (V.W.X.Y) that define a version are compared.
Exceptions
- ArgumentNullException
versionNumberis null.- ArgumentException
versionNumberhas an invalid format.