WLTrialGetTrialRestrictions

<< Click to Display Table of Contents >>

Navigation:  WinLicense > WinLicense SDK > Trial Functions >

WLTrialGetTrialRestrictions

The WLTrialGetTrialRestrictions function retrieves a bit mask with the trial restrictions included in the protected application, that is, the restrictions set in the "Trial Settings" panel in WinLicense.

Click to expand/collapseShow C/C++ function definition
Click to expand/collapseShow Delphi function definition
Click to expand/collapseShow Visual Basic Native function definition
Click to expand/collapseShow .NET function definition

 

Parameters

 

This function has no parameters.

 

 

Return Values

 

The return value is a bit mask with the trial restrictions included in the protected application. Current supported values:

 

 

 

Value

 

Meaning

 

wlTrialRestrictionUnlimited

0x0000

 

No Trial restrictions set or Unlimited option checked

wlTrialRestrictionDays

0x0001

Days expiration is enabled

 

 

wlTrialRestrictionExec

0x0002

Executions expiration is enabled

 

 

wlTrialRestrictionDate

0x0004

 

Date expiration is enabled

wlTrialRestrictionRuntime

0x0008

 

Runtime restriction is enabled

wlTrialRestrictionGlobalTime

0x0010

 

Global time restriction is enabled

wlTrialRestrictionCountry

0x0020

 

Country restriction is enabled