Aurigma Image Uploader 5.0 Dual
ImageUploader.LicenseKey Property
See Also Supported in: ActiveX Java

License key which removes evaluation version limitations for purchased domain(s)/IP(s).

# Syntax

##### Initialize

JavaScript | Copy Code
--- | ---
    <script type="text/javascript" src="iuembed.js"></script>
    <script type="text/javascript">
    var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500);
    //...other params...
    iu.addParam("LicenseKey", "");
    //...other params...
    iu.writeHtml();
    </script>

##### Get/Set Value in Runtime

JavaScript | Copy Code
--- | ---
    getImageUploader("ImageUploaderID").setLicenseKey(value);
    value = getImageUploader("ImageUploaderID").getLicenseKey();

##### Property Value

A string value containing a valid license key. To get a license key you should purchase a license for Image Uploader.

If it is necessary specify several license keys (e.g. if you use ActiveX + Java, purchased several licenses, or use the same code with Image Uploader both on production and development servers), you should just separate it with semicolon. Example:

`iu.addParam("LicenseKey", "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX;YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYYY;ZZZZZZZZ-ZZZZ-ZZZZ-ZZZZ-ZZZZZZZZZZZZ");`

Note
No extra characters like white spaces are allowed between license keys.

Image Uploader always works as a full version for `localhost` domain (regardless to the license key).

Default value is "".

# Remarks

If the none of provided license keys conform to the address of the server files are uploaded to, it will be interpreted that you are using an evaluation version.

There are two license types available for Image Uploader.

Domain License

  Generated for a single full-qualified domain name. The Action property should contain a URL which includes this domain name. If you are using a relative URL, the domain name will be taken from the parent page (i.e. the URL which the user types in the navigation bar of the browser). This license works for a full-qualified domain name. It means that any subdomains require a separate license key.

  Note
  The only exception from this rule is `www` subdomain. In other words, domains `somedomain.com` and `www.somedomain.com` are interpreted as equal, and there is no need to purchase two licenses for these two domains.

IP License

  Generated for an IP address of the server the files are submitted to. You can use Image Uploader with any domain associated with this IP address.

If you have any questions regarding licensing options or any other sales-related queries, do not hesitate to contact at sales@aurigma.com for more details.

# See Also

##### Examples

Removing Limitations of Evaluation Version
Licensing Information