SilverScreen Solid Modeler

SS_VERSION        

SS_VERSION        

Previous topic Next topic  

SS_VERSION        

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

SS_VERSION

 

Structure

A data type that stores information about the platform version and license.

 

 

 struct SS_VERSION

   {

   long      serial;

   int       version;

   int       subversion;

   int       platform;

   int       type;

   int       trial_days;

   int       authorization;

   int       is_debug;

   int       license_expires;

  USINT32   license_days_left;

   } ;

 

 


Members

Member

Description

serial

The serial number for SilverEngine, SilverPlus, SilverSharp or SilverScreen

version

The major portion of the version number. For version 10.2, for instance, 'version' is 10.

subversion

The minor portion of the version number. For version 10.2, for instance, 'subversion' is 2.

platform

An undefined value that is maintained for legacy support. It once was used to differentiate between MS-DOS and Windows systems.

type

An undefined value that is maintained for legacy support.

trial_days

If this is a trial license, then this value is the number of days remaining in the trial-license period.

authorization

A value whose meaning is as follows:

 

Constant

Meaning

SSVER_TRIAL

This is a trial license

SSVER_DEMO

This is a demo license and some functionality has been disabled

SSVER_FULL

This is a fully authorized license

 

is_debug

A value which is non-zero if the SilverScreen API was linked with debug-edition libraries.

license_expires

This value is non-zero if the license does expire, and zero if it does not.

license_days_left

If this license expires, then this stores the number of days remaining until it expires.

 

 

Remarks

During a trial period 'license_days_left' will be the same as 'trial_days'

 

See Also

get_version

 

Header

silver.h