SclSentinelId
Overview
This function has been superseded by SclLicenseManager getSentinelId .It will continue to be supported but you are advised to use SclLicenseManager getSentinelId.
GEOVIA products are protected using a sophisticated licensing system. Developers of complex suites of TCL/SCL scripts can avail themselves of this licensing system by querying the software for the unique identifier for the sentinel or hostid of the computer on which the software is running.
Synopsis
SclSentinelId
Description
SclSentinelId returns the unique identifier of the sentinel or computer host ID as an integer value. A sentinel number or host ID is returned for local sentinels (connected to the parallel port) or for a Licence Manager installation.
Note that for SSILM installations, an updated version of the ssilm.exe program is required to ensure the correct information is returned from the licence manager. The ssilm.exe must be from a Surpac, or related product, after V4.1-F.
If the ssilm.exe is from an earlier version the value returned by this SCL command will be 0. Script authors should treat this value as an error condition and write appropriate error handling code.
Examples
# # This example shows how the sentinel number can be obtained from the software # puts "sentinel number = [SclSentinelId]" |