verifylicense (Windows only)
Syntax and description
The verifylicense command checks whether the current product is licensed. Additionally, the --license-key option enables you to check whether a specific license key is already assigned to the product. This command is supported only on Windows systems. It is not supported on Linux or Mac systems.
mapforceserver verifylicense [options] |
•To check whether a specific license is assigned to MapForce Server, supply the license key as the value of the --license-key option.
For details about licensing, see the LicenseServer documentation (https://www.altova.com/manual/en/licenseserver/3.12/).
Examples
Example of the verifylicense command:
mapforceserver verifylicense
mapforceserver verifylicense --license-key=ABCD123-ABCD123-ABCD123-ABCD123-ABCD123-ABCD123
•The first command checks whether MapForce Server is licensed.
•The second command checks whether MapForce Server is licensed with the license key specified with the --license-key option.
Options
Options are listed in short form (if available) and long form. You can use one or two dashes for both short and long forms. An option may or may not take a value. If it takes a value, it is written like this: --option=value. Values can be specified without quotes except in two cases: (i) when the value string contains spaces, or (ii) when explicitly stated in the description of the option that quotes are required. If an option takes a Boolean value and no value is specified, then the option's default value is TRUE. Use the --h, --help option to display information about the command.
--l, --license-key = Value Checks whether MapForce Server is licensed with the license key specified as the value of this option. |