ApplicationInfo.setVersion

Set the application version.

If the application doesn't use the format major.minor.micro you can pass 0 as the micro to use major.minor, or pass 0 as both micro and minor to use only major number. Any other format must be converted to major.minor.micro so that it can be used in version comparisons.

class ApplicationInfo
void
setVersion
(
ulong major
,
ulong minor
,
ulong micro
)

Parameters

major ulong

the major version number

minor ulong

the minor version number

micro ulong

the micro version number