udbLicenseInfo |
Returns information about the current Understand license. The database must be opened (or have been attempted to be opened) in order for the license information to be available. All strings returned are temporary, non-allocated.
There is no function return value.
udbLicenseInfo(&licCode, &licExpire, &licFile, &licHostid); printf ("Using license "); if (licFile) printf ("in file %s ", licFile); if (licHostid) printf ("from host %s ", licHostid); if (licCode) printf ("with license code %s ", licCode); if (licExpire) printf ("that expires in %s.\n", licExpire); else printf ("that has no expiration date.");
Scientific Toolworks, Inc. http://www.scitools.com |