Find the scenario(s) you are most interested in below, and use the example to help you create your own XML license template.

Trial license XML template scenario

For this trial license scenario, let's assume you want your application to be:

No XML license template is needed for trial licenses, and you only need to specify the length of the trial.

Node-locked license XML template scenario

For this node-locked license scenario, let's assume you want your application to be:

In the following example we assume the license will expire on January 1, 2018. This type of license may require that the user's HostID(s) be defined as shown below.

<LICENSEFILE>
	<FEATURE NAME="MyFeatureName"> 
		<SETTING MAJOR_VERSION="1"/>
		<SETTING MINOR_VERSION="0"/>
		<SETTING END="2018-01-01"/>
		<CLIENT_HOSTID>
			<SETTING IPADDRESS="123.123.123.123"/>
			<SETTING USERNAME="john"/>
		</CLIENT_HOSTID>
	</FEATURE>
</LICENSEFILE>

Floating license XML template scenario

For this floating license scenario, let's assume you want your application (or particular application features) to be:

In the following example we assume the license will expire on January 1, 2018. This type of license limits the number of concurrent users of the license to five.

<LICENSEFILE>
	<FEATURE NAME="MyFeatureName">
		<SETTING MAJOR_VERSION="1"/>
		<SETTING MINOR_VERSION="0"/>
		<SETTING COUNT="5"/>
		<SETTING END="2018-01-01"/>
	</FEATURE> 
</LICENSEFILE>