Licensing
How to install a license
The license is supplied as a text string in a download file, for example:
eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJMTVMiLCJleHAiOjE1MzAxODEwMDQsImlhdCI6MTUyMjIzMjIwNCwicmlnaHRzIjpbIkNETF9BQ0NFU1MiLCJDRExfTElWRV9TVFJFQU1JTkciLCJDRExfVEhJUkRQQVJUWV9QRU5TIiwiQ0RMX1BIVV8xMTEiLCJTSUdfU0RLX0NPUkUiLCJTSUdDQVBUWF9BQ0NFU1MiXSwiZGV2aWNlcyI6W10sInR5cGUiOiJldmFsIiwibGljX25hbWUiOiJXSUxMX1NpZ25hdHVyZV9FZGl0aW9uIiwid2Fjb21faWQiOiI0NjFjMjZjMDRlMGQ0YjQyODk1MjNiNDcwZDZiNTJhMSIsImxpY191aWQiOiJiMzFkYjFmMS1lODdjLTQzZGUtODQ4MS1kMzJiNmUyYWRlOGUiLCJhcHBzX3dpbmRvd3MiOltdLCJhcHBzX2lvcyI6W10sImFwcHNfYW5kcm9pZCI6W10sIm1hY2hpbmVfaWRzIjpbXX0.r_ntKX8JHbvE5lIjZgInsv-SbxenS60ymxgXYew8o5l4_UPdMAXxFa0xTNzIrTfb1DbJakLxcLUgeW2FeXnd5oaDt8fLrQDEgCt3SScp92YsCPnVnze7j4GHTVElDNgYtQzMBPAgPUGIg4NbinWZt8YthcDMCQbDFxWVhU3-AQMguGClxuZxxJHOzLp71nSczQ9aYsBMK2vaaMhjqVMt83XHc_MLtFiWoMM08n09oAsZqnkySyqgjPgXzR73ZWOrCcnwSKUU2VDraXIrO7z79UV1JvMYYQq7RtBQizjPRJlPz9YsBDrE8fexShNIzdizDNJliR_6YtHfQ1vKIdvtBA
Modify the application code to add the licence is illustrated below:
Signature SDK
HTML/Javascript
As illustrated in TestSDKCapture.html use the following syntax:
sigCtl.SetProperty("Licence","licence_string");
for example:
sigCtl.SetProperty("Licence","eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJMTVMiLCJleHAiOjE1NTA1NzgzODYsImlhdCI6MTUxOTA0MjUwNiwicmlnaHRzIjpbIlNJ....tkmp48TZNg");
Similarly, if in use the Wizard control must also be licensed:
wizCtl = new WizCtl();
wizCtl.licence = "licence_string";
Java
SigCtl sigCtl = new SigCtl();
sigCtl.licence("licence_string");
C#
SigCtl sigCtl = new SigCtl();
sigCtl.Licence = "licence_string";
VB.NET
Dim sigCtl As New SigCtl
sigCtl.Licence = "licence_string"
Delphi
sigCtl := TSigCtl.Create(Self);
sigCtl.Licence := 'licence_string';
Note that Delphi TString is limited to 255 characters so you need to cut the licence up into consecutive strings, e.g.
license_string := 'first part of the license' + 'another part of the licence' + '.....' + 'last part of the license.';
SigCaptX
HTML/Javascript
As illustrated in SigCaptX-SessionControl.js use the following code structure:
sigCtl.PutLicence("licence_string", onSigCtlPutLicence);
If you are also using the WizCtl make sure that the licence string is applied to it in the same way, i.e.
WizCtl.PutLicence("licence_string", onWizCtlPutLicence);
To make it easier to find the place where the licence string must be inserted in the sample code search for the string "<<license>>" in the appropriate source file.
The SDK samples can be downloaded from the Signature SDK and SigCaptX GitHub repositories.
To view the licence used in an application click the green icon in the Signature Capture window, then <About> to display licence information.