Localsolver
5.5
|
Version and copyright info.
Static Public Member Functions | |
static int | GetMajorVersionNumber () |
Returns LocalSolver's major version number. | |
static int | GetMinorVersionNumber () |
Returns LocalSolver's minor version number. | |
static int | GetBuildDate () |
Returns LocalSolver's build date. | |
static string | GetPlatform () |
Returns the platform of the LocalSolver's binary as a string. | |
static string | GetVersion () |
Returns LocalSolver's version as a string. | |
static int | GetVersionCode () |
Returns LocalSolver's version code as an integer in the range [0, 29999]. | |
static string | GetCopyright () |
Returns LocalSolver's copyright as a string. | |
static string | GetInfo () |
Returns version and copyright info as a string. | |
static string | GetLicensePath () |
Returns the license path of LocalSolver. | |
static void | SetLicensePath (string licensePath) |
Change the license path used by LocalSolver. | |
static string | GetLicenseContent () |
Returns the license content previously set with SetLicenseContent. | |
static void | SetLicenseContent (string licenseContent) |
Change the license content. |
|
inlinestatic |
Returns LocalSolver's major version number.
This number is an integer in the range [0, 2999].
|
inlinestatic |
Returns LocalSolver's minor version number.
This number is an integer in the range [0, 9].
|
inlinestatic |
Returns LocalSolver's build date.
This number is an integer YYYYMMDD with YYYY the year, MM the month, DD the day.
|
inlinestatic |
Returns the platform of the LocalSolver's binary as a string.
The format of the string is PPPPXX where PPPP is the platform (Win, Linux or MacOS) and XX is the architecture (32 or 64 bits).
Since version 3.0
|
inlinestatic |
Returns LocalSolver's version as a string.
The format of the string is: MA.MI.YYYYMMDD-PPPPXX with MA the major number version, MI the minor number version, YYYY the year, MM the month, DD the day, PPPP the platform (Win, Linux or MacOS) and XX the architecture.
|
inlinestatic |
Returns LocalSolver's version code as an integer in the range [0, 29999].
The version code is computed as follows: MA * 10 + MI with MA the major number version, MI the minor number version. Note that the version code can be encoded as a 16-bit integer.
|
inlinestatic |
Returns LocalSolver's copyright as a string.
|
inlinestatic |
Returns version and copyright info as a string.
|
inlinestatic |
Returns the license path of LocalSolver.
By default, LocalSolver looks for the license in 4 different locations :
Use SetLicensePath to change the license path at runtime.
LSVersion.SetLicensePath LSVersion.GetLicenseContent LSVersion.SetLicenseContent Since version 3.0
|
inlinestatic |
Change the license path used by LocalSolver.
licensePath | new path for the license |
LSVersion.GetLicensePath LSVersion.SetLicenseContent LSVersion.GetLicenseContent Since version 3.0
|
inlinestatic |
Returns the license content previously set with SetLicenseContent.
LSVersion.SetLicenseContent LSVersion.GetLicensePath LSVersion.SetLicensePath Since version 5.0
|
inlinestatic |
Change the license content.
By default, LocalSolver try to get the license from the path specified in setLicensePath or in a default location. Use this function to set the license content directly, without using a file.
licenseContent | content of the license to use. |
LSVersion.GetLicenseContent LSVersion.SetLicensePath LSVersion.GetLicensePath Since version 5.0