UniKey Console Tool: Difference between revisions

From SecuTech Wiki
Jump to navigationJump to search
Joseph (talk | contribs)
mNo edit summary
Bao (talk | contribs)
Updated page to newest version, including images, added to manuals category
Line 1: Line 1:
[[category:UniKey_Tools]]
[[category:UniKey Tools]]
[[category:UniKey Manuals]]
==<b>UniKey Console</b>==


==Introduction==
<b>User Guide</b>


<!--Check-->UniKey Console is a powerful tool for use by software vendors for management of software development, license software and tracking of software sales performance, and can seamlessly be integrated into your ERP, CRM and financial system.  
<b><i>Version 8.3</i></b>


The Console tool's interface was designed to complement the waterfall software development structure, aiding software vendors in managing their software throughout its whole lifecycle. The feature-based license management scheme is an innovative method to both safeguard your software and license efficiently.
<table class="wikitable">
<tr>
  <td style="background-color: red;"><b style="color: #fff;">Version</b></td>
  <td style="background-color: red;"><b style="color: #fff;">Date</b></td>
</tr>
<tr>
  <td>1.0</td>
  <td>2006.1</td>
</tr>
<tr>
  <td>1.1</td>
  <td>2006.8</td>
</tr>
<tr>
  <td>1.2</td>
  <td>2006.10</td>
</tr>
<tr>
  <td>1.3</td>
  <td>2006.12</td>
</tr>
<tr>
  <td>2.0</td>
  <td>2007.2</td>
</tr>
<tr>
  <td>2.1</td>
  <td>2007.4</td>
</tr>
<tr>
  <td>2.2</td>
  <td>2007.8</td>
</tr>
<tr>
  <td>3.0</td>
  <td>2008.5</td>
</tr>
<tr>
  <td>4.0</td>
  <td>2008.8</td>
</tr>
<tr>
  <td>5.0</td>
  <td>2009.3</td>
</tr>
<tr>
  <td>6.0</td>
  <td>2010.4</td>
</tr>
<tr>
  <td>7.0</td>
  <td>2010.6</td>
</tr>
<tr>
  <td>7.1</td>
  <td>2010.8</td>
</tr>
<tr>
  <td>7.3</td>
  <td>2010.9</td>
</tr>
<tr>
  <td>8.0</td>
  <td>2012.3</td>
</tr>
<tr>
  <td>8.1</td>
  <td>2012.4</td>
</tr>
<tr>
  <td>8.2</td>
  <td>2016.5</td>
</tr>
<tr>
  <td>8.3</td>
  <td>2016.7</td>
</tr>
</table>


UniKey Console employs a database to record information to administrate all software, query  sales history and gather information regarding software development, supporting SQL, MySQL and Oracle.  
==Introduction==
UniKey Console is a powerful tool to help software vendors manage their software development, license software and track their software sales performance. It can be integrated into your ERP, CRM and financial system seamlessly.  The UniKey Console is designed to follow the waterfall software development procedure, which helps software vendors manage their different products along its whole lifecycle. The feature based license management method is an innovative way to protect your software away from intruders and to license efficiently.  To administrate all software, check the sales history and gather information to prepare for the following software development, UniKey Console employs a database to record information. It supports almost all database techniques available in todays market, such as SQL, MySQL, and Oracle. Additionally, this Console supports multiple users logging in to the system. Different operators in different roles can logon and operate the Console utility within their personal level of permission. For example, employees from a product department can login to the Console system, and submit product orders, but they cannot see any other information about the sales department.


In addition, the Console tool supports multiple users within the system. Different operators with different roles can log on and operate the Console utility within a separate level of permissions. Product department employees can log onto the Console system and submit product orders, but cannot access additional information about the sales department, as an example.


==Deployment==
==Deployment==
This section will introduce how to deploy the UniKey Console on your system. The Console has two parts, the front is a GUI which is green software and does not need any installation. Users simply copy the folder to their computer. The next step is to install a database and create tables. In the SDK we provide instructional pictures, follow the pictures to finish the MySQL installation. If no version of MySQL Server is included in the SDK, you can download the latest version from: https://dev.mysql.com/downloads/mysql/. After installing the database, click on Start, and open the MySQL Command Line Client.  Log in to the database by entering your password.


This section will introduce how to deploy the UniKey Console tool on your system. The Console is divided into two parts in function: the graphical user interface, i.e. the UniKey Console tool itself, which provides the interface and can be run without installation; and the database software, for use by the Console tool.
[[File:MySQL console.png|left|500px]]
 
<!--J-->
<!--Introduce path of the Console tool in SDK directory-->
The next step is to install a database and create tables. In the SDK, we provide a MySQL package. Double click on the mysql-5.5.15 icon, and follow the install wizard to finish the MySQL installation. After installing database, click on "Start", and open the MySQL command line client.
 
Logon to the database by entering your password.


[[Image:UniKey_Console_Tool_Pic01.jpg]]
<table class="wikitable" align="left" style="width: 100px;">
<tr>
  <td align="center"><i>Device mode does not support multiple users and will not keep operation records on the database</i></td>
</tr>
</table>


To create tables, input "&lt;source file directory&gt;\createconsoletables.sql" and press enter. After the database has been successfully built, open the console GUI by double clicking on the Console icon.  
<div style="clear:both;"></div>
To create the required tables, input <code>"source file directory"\createconsoletables.sql</code> (if that does not work try the command: <code>source "source file directory"\createconsoletables.sql</code>) and press enter. After the database has been successfully built, open the console GUI by double clicking on the Console icon (you may need to re-open the Console application to register any changes to the database).


===Working Mode===


The UniKey Console provides two different modes for users, Manage Mode and Device Mode. The Manage Mode is mainly used to manage the whole lifecycle of your software, and allows multiple operators to logon the system to implement their operations with their own levels of permission. Device mode provides a quick way to configure parameters or generate an update file for a UniKey device.  
==UniKey Console Working Mode==
The UniKey Console provides two different modes for users, Manage Mode and Device Mode. The Manage Mode is mainly used to manage the whole lifecycle of your software, and allows multiple operators to logon the system to implement their operations with their own levels of permission. Device mode provides a quick way to configure parameters or generate an update file for a UniKey device.


==Manage Mode==
==Manage Mode==
The UniKey Console Manage Mode closely follows the software lifecycle, from the beginning of software design to the end of software development. At the design stage, software designers will separate the software into different blocks according to their functions. We highly recommend medium to large software vendors use Manage Mode to manage and license your software.


The UniKey console Manage Mode is closely follows the software lifecycle, from the beginning of software design to the end of software development. At the design stage, software designers will separate the software into different blocks according to their functions. We highly recommend those medium to large software vendors use the manage mode to manage and license your software.
===Login===
 
This system supports remote login. Users can set up the servers IP via the GUI, and log in to the server remotely to finish their operation. To start using the Console, double click on the UniKey Console. The login interface will pop up.
===Logon===
 
This system supports remote login. Users can set up the server’s IP via the GUI, and logon the server remotely to finish their operation.  
 
To start using the Console, double click on the UniKey Console. The logon interface will pop up.  


[[Image:UniKey_Console_Tool_Pic02.jpg]]
[[File:console login.png|500px]]


Input the user name and password to logon the system.  
Input the user name and password to log in to the system.
 
* If this is the first time you are logging in to the system, the user name is administrator, and password is admin.
• If it is the first time you logon the system, the user name is administrator, and password is admin.  
* The administrator should log in to the system and change their password first, and then he/she can create other accounts for different operators.
 
* If you try to log in to a server remotely, click on Network Setting and in the pop-up window, input the server IP address and port number.
• The administrator shall logon the system and change their password first, and then he/she can create other accounts for different operators.  
 
• If you try to logon to a server remotely, click on "Network Setting" and in the pop-up window, input the server IP address and port number.


===Product===
===Product===
The product panel provides a series of interfaces for product related operations, including creating license features and generating product license strategies by combining one or more license features together.


The product panel provides a series of interfaces for product related operations, including creating license features and generating product license strategies by combining one or more license features together.  
====Feature Setting====
 
Feature setting is the most basic element to form a license for a product. For example, if the software requires a license based on expiration time, a time module shall be selected and the expiration time shall be set. This will form a license feature. If more license strategies are going to be used, more license features can be created.
'''''Feature Setting'''''


The feature setting is the most basic element to form a license for a product. For example, if the software requires a license based on expiration time, a time module shall be selected and the expiration time shall be set. This will form a license feature. If more license strategies are going to be used, more license features can be created.  
[[File:feature setting console.png|500px]]


[[Image:UniKey_Console_Tool_Pic03.jpg]]
Click on Add to add a license feature in the pop-up window.


Click on "Add" to add a license feature in the pop-up window.  
[[File:add license feature.png|500px]]


[[Image:UniKey_Console_Tool_Pic04.jpg]]
As you can see from the above picture, lots of license features can be used to build up a single product license, such as license module, memory, arithmetic, SID, max connections, partition information, etc.
 
As you can see from the above picture, lots of license features can be used to build up a single product license, such as license module, memory, arithmetic, SID, max connection, partition information and etc.  
 
'''''License Module'''''


====License Module====
This feature limits access to the software based on rules. When the correct UniKey is connected, the software bound to the UniKey is activated.
This feature limits access to the software based on rules. When the correct UniKey is connected, the software bound to the UniKey is activated.


[[Image:UniKey_Console_Tool_Pic05.jpg]]
[[File:license module.png|thumb|left|500px|License Module is the most widely used feature on all UniKey devices]]
 
There are two ways to use the license module. First is to bind a module to the software, once the module is enabled, the software will start working; second is to set the execute count, every time when the software is started, the count will decrement until the value reaches 0.
 
'''''Memory'''''
 
UniKey has 4K memory which allows developers to store any information, such as software abstract, version information, buyers or developers’ information, etc.
 
[[Image:UniKey_Console_Tool_Pic06.jpg]]  
 
In the feature setting:
 
• Input the encoding in the left column;
 
• Input the start address, which refers the start point where the content will be stored;
 
• Input the length, which refers the length of contents that will be stored in the memory.
 
'''''Arithmetic'''''


To protect your software safely, it is a good idea to write a block of code inside the UniKey device itself, therefore without the device, the software cannot run. The arithmetic option is designed for this purpose.  
<div style="clear:both;"></div>
There are two ways to use the License Module. The first is to bind a module to the software, once the module is enabled, the software will start working. The second is to set the execute count, so every time when the software is started the count will decrement until the value reaches 0.


[[Image:UniKey_Console_Tool_Pic07.jpg]]
<b>A non-zero number must be set to enable the License Module. This number will not be changed unless Exe Count Mode has been selected.</b>


In the feature setting:
====Memory====
UniKey has 4K memory which allows developers to store any information, such as a software abstract, version information, buyers or developers information, etc.


• Input your custom arithmetic.  
[[File:console memory.png|500px]]


• Input the start address, to set the start point of the arithmetic;
In the feature setting:
* Input the encoding in the left column.
* Input the start address, which refers to the start point where the content will be stored.
* Input the length, which refers the length of content that will be stored in memory.


• Input the length, so that the arithmetic will end at the start address plus the length.  
====Arithmetic ====
To protect your software safely, it is a good idea to write a block of code inside the UniKey device itself, therefore without the device, the software cannot run. The arithmetic option is designed for this purpose.


'''''SID Range'''''
[[File:console arithmetic.png|thumb|left|500px|For the syntax and how to write an equation, please refer to the UniKey manual in the arithmetic section]]


SID is another important property in UniKey that can provide effective license management and software protection. Developers can use this feature to set it so that only one key or several keys can launch a specific copy of software.  
<div style="clear:both;"></div>
In the feature setting:
* Input your custom arithmetic.
* Input the start address, to set the start point of the arithmetic.
* Input the length, so that the arithmetic will end at the start address plus the length.


[[Image:UniKey_Console_Tool_Pic08.jpg]]
====SID Range====
SID is another important property in UniKey that can provide effective license management and software protection. Developers can use this feature to set it so that only one key or several keys can launch a specific copy of software.


Feature setting:  
[[File:console SID range.png|500px]]


In the SID generation mode, which will generate a rule for how UniKey SID codes are created, there are 4 different methods of generation:  
<b>Feature setting</b> - In the SID generation mode, which will generate a rule for how UniKey SID codes are created, there are 4 different methods of generation:
* All the same: all SID burned to UniKey devices will be the same.
* Increment: the SID value of every UniKey device will add 1 from the initial value when burning.
* Decrement: the SID value of every UniKey device will decrease by 1
* Time/date: the SID value will be the produced from the current time/date
The initial value gives a starting SID value/position/number.


• All same: all SID burned to UniKey devices will be the same
====Update Tag====
The update tag is mainly used to update related issues. It can be used to record the number of times the software has been updated, or protect an update file from being used by other UniKey devices with a different update tag.


• Increment: the SID value of every UniKey device will add 1 from the initial value, when been produced
[[File:console update tag.png|500px]]


• Decrement: the SID value of every UniKey device will decrease by 1
====Max Connections====
Some software may employ a floating license strategy, where people on the network will share a license. The maximum number of connections can restrict the total number of users who share a license simultaneously on a local network.


• Time/date: the SID value will be the producing time/date
[[File:console max connections.png|500px]]


The initial value gives a starting SID value/position/number.  
====Seed====
For every UniKey device, the password cannot be customized, but developers can generate their own passwords by themselves. Passwords can be generated by entering a seed value in the seed setting, and when a license is produced, the password of the device will be changed to the value calculated by the UniKey system based on this seed value.


'''''Update Tag'''''
[[File:console seed.png|500px]]


The update tag is mainly used to update related issues. It can be used to record the number of times the software has been updated, or protect an update file from being used by other UniKey devices with a different update tag.
In the feature setting, input the seed value.
* Each UniKey dongle can only generate a new password TWICE! After this it cannot generate anymore passwords.
* When generating a new password, the dongle is formatted.
* <b>To reset the password for a 3rd time, the UniKey dongle must be sent back to SecuTech</b>


[[Image:UniKey_Console_Tool_Pic09.jpg]]
====Partition information====
Each UniKey Drive device has four partitions:
* Virtual CD-ROM emulation drive
* Public partition
* Password protected partition
* Hidden partition
This page is used by customers to set the space for each partition on the UniKey Drive device.


'''''Max Connection'''''
[[File:console partition information.png|500px]]


Some software may employ a floating license strategy, where people on the network will share a license. The maximum number of connections can restrict the total number of users who share the same license simultaneously on the local network.  
====Files in hidden partition====
UniKey Drive has a unique hidden partition which allows users to store files. Each file stored on the hidden partition is invisible and inaccessible to end users. Vendors could integrate UniKey Drive APIs with their software and then that software will be able to access the files stored on the UniKey Drives hidden partition.


[[Image:UniKey_Console_Tool_Pic10.jpg]]''
[[File:console hidden partition files.png|500px]]


'''''Seed'''''
The files stored on the hidden partition should have the filename as an 8.3 format, for example, 12345678.123


For every UniKey device, the password cannot be customized, but developers can generate their own password by themselves. The method to generate passwords is by entering a seed value in the seed setting, and when the license is been produced, the password of the device will be changed to the value calculated by the UniKey system based on this seed value.  
====Product setting====
Product setting is used to combine the basic license elements and features together to form a product license strategy, to help meet the different requirements of customers, businesses, and sales strategies. For each software package, decision makers can set several license strategies by selecting different license features which have been set in Feature setting, maximizing their market share and revenue. For some special requirements, a customized license can even be quickly generated.


[[Image:UniKey_Console_Tool_Pic11.jpg]]
[[File:console product setting.png|500px]]


the feature setting, input the seed value.  
The above picture shows the Product setting panel, and to add a license for a product click on the Add button.


• Each UniKey dongle can only generate a new password '''TWICE'''! It cannot generate new passwords any more.
After clicking on Add, this window is displayed


• When generating a new password, the dongle is formatted.
[[File:console add product.png|thumb|left|500px|The configuration will affect this product, and will not change previous Feature settings]]


'''''Partition information'''''
<div style="clear:both;"></div>
Input the product name; a comment can be added in the comment box, and please select the correct device type(s). In the Feature setting section, you can reset the update tag, max connections, seed, and SID generation mode by checking the respective item boxes. This provides a quick interface to modify the license settings. From the Feature list choose the preferred features from the list and click on &gt; to move them to the products desired features on the right. These features will combine together to form a product license.


Each UniKey Drive device has four partitions:
[[File:console product setting added.png|thumb|left|500px|Once an order has been placed on a product, this product will not be deleted]]


• Virtual CD-ROM emulation drive
<div style="clear:both;"></div>
 
Based on the current product, you can create a new license quickly by using the Customize function; you can then input a new name and reset values or add more features to create another license. This allows you to easily create another product with a new name and unique product ID that may share features with other products. A product can be changed by selecting the product and clicking on Edit, or can be deleted by clicking Delete.
• Public partition
 
• Password protected partition
 
• Hidden partition
 
Customers will assign space for each partition and this page is used by the customer to set the space for each partition on the UniKey Drive device.
 
[[Image:UniKey_Console_Tool_Pic12.jpg]]
 
'''''Files in hidden partition (UniKey Drive)'''''
 
UniKey Drive has a unique hidden partition which allows users to store files. Each file stored on the hidden partition is invisible and inaccessible to the end users. Vendors could integrate UniKey Drive APIs with their software and then that software will be able to access the files stored on the UniKey Drive’s hidden partition.
 
[[Image:UniKey_Console_Tool_Pic13.jpg]]
 
The files stored on the hidden partition should have the filename as 8.3 format, for example, 12345678.123
 
'''''Product setting'''''
 
Product setting is used to combine the basic license elements in features together to form a product license strategy, to meet the different requirements of customers, businesses and selling strategies. For each software package, decision makers can set several license strategies by selecting different license features which have been set in the feature setting, to maximize their market share and revenue, and for some special requirements for customers, a customized license can be generated quickly.
 
[[Image:UniKey_Console_Tool_Pic14.jpg]]
 
The above picture shows the panel of the product setting, and to add a license for a product click on "Add".
 
After clicking on Add, this window is displayed
 
[[Image:UniKey_Console_Tool_Pic15.jpg]]
 
Input the name for the product. A comment can be added in the comment box and please choose a compatible device.
 
In the feature setting area, you can reset the update tag, max connections, seed, and SID generation mode by checking the option items respectively. This provides a quick interface to modify the license settings.
 
From the feature list choose the preferred features from the list and click on "&gt;" to move them to the desired features on the product to the right. These features will combine together to form a product license.
 
[[Image:UniKey_Console_Tool_Pic16.jpg]]
 
Based on the current product, you can create a new license quickly by using the "Customize" function, the current license policy of the product will be listed in the product current feature column directly, and you can input a new name and reset values or add more features to create another license.  
 
The product can be changed by clicking on "Edit", and can be deleted by "Delete".


===Sales===
===Sales===
The sale function will help vendors to manage their customers and orders. It contains two configurations: Customer Management and Order Setting.


The sale function will help vendors to manage their customers and orders. It contains two configurations: Customer Management and Order Setting.  
====Customer Management====
Customer Management will record all information about customers and their order history. If a customer wants to place an order, then this customer must be added to the customer list. Click the button Add to execute the corresponding operation.


'''''Customer Management'''''
====Order Setting====
Order setting contains order related operations, such as place an order, update a product, append a new order to an existing order, edit, delete, submit and check status.


Customer management will record all information about customers and their order history. If a customer wants to place an order, then this customer must be added to the customer list. Click on the button on the right to execute the corresponding operation.
[[File:console order management.png|500px]]
 
'''''Order Setting'''''
 
Order setting contains order related operations, such as place an order, update product, append new order to an existing order, edit, delete, submit and check status.
 
[[Image:UniKey_Console_Tool_Pic17.jpg]]


===Production===
===Production===
Production is mainly used for the production department, once an order has been submitted, the order will be passed to the production department, x and this order will be listed. The producer shall produce the order.


The production is mainly used for the production department, once an order has been submitted, the order will be passed to the production department, and this order will be listed. The producer shall produce the order.
[[File:console product management.png|500px]]


[[Image:UniKey_Console_Tool_Pic18.jpg]]
Click on Production, and follow the instruction to finish production procedure.


Click on "Production", and follow the instruction to finish production procedure.  
[[File:console production progress.png|300px]]


[[Image:UniKey_Console_Tool_Pic19.jpg]]
If there is an error or problem in the order, the producer shall decline the order by clicking on decline, and then the order will be sent back to sales.


If there is an error or problem in the order, the producer shall decline the order by clicking on "decline", and then the order will be sent back to sales.


===Management===
===Management===
Administrators shall use the Management tab to add, edit and delete users, including user name, password, and assign permission levels.


Administrators shall use the management tab to add, edit and delete users, including user name, password, and assign permission levels.
[[File:console user management.png|500px]]


[[Image:UniKey_Console_Tool_Pic20.jpg]]


==Device Mode==
==Device Mode==
Device Mode provides you a direct way to configure all parameters for your UniKey device locally or to generate a remote update file. It is suitable for altering UniKey hardware operations and property configurations directly.
Device Mode provides you a direct way to configure all parameters for your UniKey device locally or to generate a remote update file. It is suitable for altering UniKey hardware operations and property configurations directly.


[[Image:UniKey_Console_Tool_Pic21.jpg]]
[[File:console device setting.png|500px]]
 
When you click on "Check status", the status of the device connected to the local computer will be displayed in the message box.
When you click on Check status, the status of the device connected to the local computer will be displayed in the message box. By entering the correct password, and then clicking on User logon or Vendor logon, you can log in to the device as a user or vendor to perform operations within your level of permission.
 
By entering the correct password, and then clicking on the "User Logon" or "Vendor Logon", you can logon to the device as a user or vendor to do the operations within your level of permission.


===Configure===
===Configure===
Click on Configure on the left side of the control panel, all configuration options will be displayed in the dropdown menu:
* General information
* Memory
* Algorithm
* License and Time Module
* New password
* Encrypt/decrypt
* Random number
* Format
* Network


Click on "Configure" on the left side of control panel, all configuration options will be displayed in the dropdown menus: General information, Memory, Algorithm, License module, Encrypt/decrypt, and network configuration.
[[File:console device configure.png|500px]]


[[Image:UniKey_Console_Tool_Pic22.jpg]]
You can configure any properties according to your own desired licensing strategies. By clicking on the corresponding options, you can enter your required parameters.


You can configure any properties according to your own desired licensing strategies. By clicking on the corresponding options, you can enter your parameters.
===General information===


===General information===
[[File:console device general information.png|500px]]


[[Image:UniKey_Console_Tool_Pic23.jpg]]
<b>The HID is a fixed serial number, and cannot be changed.</b>


In this option, the UniKey device’s SID and Update Tag connected to your computer will show in the message box. You can change the SID and Update Tag value, by entering value to the input box and then clicking on "write".  
In menu, the UniKey devices SID and Update Tag connected to your computer will show in the message box. You can change the SID and Update Tag value, by entering value in the respective input box and then clicking Write.


<div style="clear:both;"></div>
===Memory===
===Memory===


[[Image:UniKey_Console_Tool_Pic24.jpg]]
[[File:console device memory.png|500px]]
 
In memory option, you can read, edit and delete content stored in UniKey memory. By clicking on "Read", you can read content from UniKey memory, and by clicking on "Write", you can write all the contents edited by you into the UniKey memory.


To facilitate your editing, UniKey console provides a load from file function. By clicking on "Load from file", you can load content stored in a file to Console, and then write it to memory by clicking on "Write". Or you can save the data which is read from UniKey memory to a file by clicking on "Save to file".
In Memory, you can read, edit, and delete content stored in the UniKeys memory. By clicking on Read, you can read content from the UniKeys memory, and by clicking on Write, you can write all content edited by you into the UniKeys memory. To facilitate your editing, UniKey Console provides a load from file function. By clicking on Load from file, you can load content stored in a file to Console, and then write it to memory by clicking on Write. Alternatively, you can save the data which is read from the UniKeys memory to a file by clicking on Save to file.


===Algorithm===
===Algorithm===


[[Image:UniKey_Console_Tool_Pic25.jpg]]
[[File:console device algorithm.png|500px]]
 
Using UniKey algorithm is a very powerful method way to protect your software, as this block of code is stored in UniKey, independent from memory storing the software code. Without the right permission, nobody can read or write this block of code.
 
You can input your algorithms in algorithm input form. You can input more than one statement in your algorithm and each statement is separated by comma. Input the start address to set the starting point for your algorithm, and input a length to set the end point. The end point address will be the start address plus length.
 
Select the calculation mode, and then click on "Write" to write your configurations into UniKey. If you want to run your algorithm for a test, you can initialize the variable, A, B, C, D, seed/module (depending on the selected calculation mode) and start address, and then click on "run". The result from A, B, C and D will be displayed directly.


===License Module===
UniKey Algorithm is a very powerful method to protect your software, as this block of code is stored directly in UniKey, independent in memory from where software code is stored. Without the right permissions, this block of code cannot be written to or read by anyone. An algorithm can be typed into the Input algorithm field. You can input more than one statement in your algorithm and each statement is separated by comma. Input the start address to set the starting point for your algorithm, and input a length to set the end point. The end point address will be the start address plus length. Select a calculation mode, and then click on Write to write your configurations into the UniKey. If you want to run your algorithm for a test, you can initialize the variable, A, B, C, D, seed/module (depending on the selected calculation mode), and start address, and then click on Run. The result from A, B, C, and D will be displayed directly.


[[Image:UniKey_Console_Tool_Pic26.jpg]]
===Module===


License Module allows you to enabled/disabled specified modules and set the number of execution times. In the list on the right side of the console, you can see a list and module status. Click on the white triangle to check each corresponding module’s parameters and status.  
[[File:console device module.png|500px]]


[[Image:UniKey_Console_Tool_Pic27.jpg]]
License Module allows you to enable/disable specified modules and set the number of execution times. In the list on the right side of the console, you can see a list and module status. Click on the white triangle to check each corresponding modules parameters and status.


Click on "Check" to check information and status from a device and click on "Write" to write your configurations.  
[[File:Console device module options.png|thumb|left|500px|To enable a module, a positive number must be entered]]


You can enable/disable the auto-decrement function by toggling the check box next to "Auto-decrement".  
<div style="clear:both;"></div>
Click on Check to view the information and status of a device and click on Write to write your configurations.


To check the information in all modules, you can click on the "Check All" button; you can also set all modules by clicking on "Write All" to write all settings to device.
You can enable/disable the auto-decrement function by toggling the check box next to Auto-decrement. To check the information in all modules, you can click on the Check All button; you can also set all modules by clicking on Write All to write all settings to device.
 
===Time Module (UniKey Time)===
 
[[Image:UniKey Console Tool Pic28.jpg]]
 
The UniKey Time model has 16 time modules, and you can bind a time module with your software or one of function in your software, to achieve time based license strategy.
 
Click on "read time" to read the time from the device dongle, and you can set the time by inputting the time in the input box and then click on "write time" or you can synchronize you device clock with your system time.
 
Click on the white triangle icon on the right to set a time module, by following the procedure below.
 
'''''Set start time'''''
 
[[Image:UniKey Console Tool Pic29.jpg]]
 
You can use the current devices time or system time by clicking on "use device time" or "use system time". UniKey provides two different methods, expiration and duration, for you to select (the default method is duration time). Input the duration time, which indicates how long the user can use the software after the start time.
 
'''''Set expiration time'''''
 
[[Image:UniKey Console Tool Pic30.jpg]]
 
If the module will never be used, you can click on "write" directly, but if the module has been set before, then to reset the module, you should either erase the module first or check the "re-write" option. You can set more than one module at once, click on "write all" to set your modules in batch, please use "check all" to check all module status. Click on "erase all" to remove all settings stored in all time modules. Please note, all modules will be initialized so be careful when using this feature.
 
===New Password===
 
[[Image:UniKey_Console_Tool_Pic31.jpg]]
 
UniKey does not allow users to define password by themselves. The only way to change password is by using the password generation mechanism embedded in UniKey Console.
 
Please input a seed (only numbers), and click on "Generate New Password". All new passwords will display in the new password output box and will be recorded in the UniKey Console folder.
 
The passwords of a UniKey dongle can only be changed twice, after that you can never change the password again.


===Encrypt/Decrypt===
===Encrypt/Decrypt===


[[Image:UniKey_Console_Tool_Pic32.jpg]]
[[File:console device encrypt and decrypt.png|500px]]


Each UniKey dongle has an encrypt/decrypt function, and can store 3 keys inside each device. In the encrypt/decrypt option, you can choose the encrypt/decrypt operation, generate keys and to check the output.  
Each UniKey dongle has an encrypt/decrypt function, and can store 3 keys inside each device. In the encrypt/decrypt option, you can choose the encrypt/decrypt operation, generate keys and check output. From the Select Operation drop-down menu, you can choose a specific operation. For example, choosing generate key, you can choose the key you want to use and click on Run to generate a secret key for your UniKey. Encryt/Decrypt: to check the encrypt/decrypt result, you can choose your desired operation from the Select Operation drop-down menu. Select the key, choose the encoding, input your content (the length must be an integer multiple of 16) in the input box and then click Run, you can then see the result in the output box. To reverse the operation, you can click on &lt; between the input and output boxes, choose the opposite operation, and then click on Run to check the result from the output box. UniKey also provides an MD5 algorithm, for you to perform checksums. You can perform the MD5 calculation by following the same procedure.
 
From the select operation drop-down menu, you can choose an operation. For example, choose generate key. From the select key menu, choose the key you want to use and click on "run" to generate a secret key for your UniKey.  
 
Encryt/Decrypt: to check the encrypt/decrypt result, you can choose your desired operation from the operation drop-down menu.  
 
Select the key, choose the encoding, input your content (the length must be an integer multiple of 16) in the input box and then click run, you can then see the result from the output box. To reverse the operation, you can click on "&lt;" between thr input and output boxes, choose the opposite operation, and then click on "run" to check the result from the output box.  
 
The system also provides an MD5 algorithm, for you to perform checksums. You can perform the MD5 calculation by following the same procedure.
 
===Random Number===
 
[[Image:UniKey_Console_Tool_Pic33.jpg]]
 
UniKey console provide a random number generation function. Here, just by entering a number in seed and clicking on "run", you will get 4 random numbers from the result.  


===Network===
===Network===


[[Image:UniKey_Console_Tool_Pic34.jpg]]
[[File:console device network.png|500px]]
 
This option allows you to configure your UniKey device (PRO &amp; Time) in a network environment.In the first line, you can set the maximum number of users who can connect to the server simultaneously.
 
'''''Client setting'''''
 
• Server IP is the server’s IP address in the network. This address will guide clients to find the server in the network.
 
• Server port is the port to build communications between client and server.
 
• Time-out defines the maximum waiting time. If the client sends a request to the server, but the server does not send a response back in the set time, then the client is denied access.
 
The access mode box shows how NetUniKey Clients access the NetUniKey Server. If you set it to access by IP, NetUniKey Server accepts only ONE client per IP. If this value is set to access by process, the NetUniKey client from the same process can only be accepted once. If it is set to access by thread, NetUniKey can be accepted in any thread. Access mode by shared IP means all access from a single IP will be counted as 1. To facilitate setting other devices with the same configuration, you can save your configuration information into a file, or to update a device remotely, you can generate an update file.
 
Working mode specifies how the UniKey Client will operate. If this value is set to local only, the NetUniKey Client will only work with a UniKey dongle attached to the local USB port. If this value is local-&gt;network, the UniKey Client will check for a local UniKey dongle attached to the USB port first, if this fails, it will try to search for the UniKey dongle attached to UniKey server in the network.
 
If you set it to network only, the NetUniKey Client will only work with the UniKey dongle attached to the UniKey server. When this value is set to network-&gt;local, the NetUniKey client will try to connect with the UniKey dongle attached to UniKey server first, and if it fails, it will try to load a local UniKey attached to the USB port.
 
Search mode sets how the UniKey Clients will try to find a UniKey dongle on the network. Local only is used for connecting to the server by using the server IP set in the configuration file.
 
If it is set to local-&gt;broadcast, the UniKey client will try to use the information in UniKey configuration file first, if this fails, the UniKey clients will broadcast to the local network to find the UniKey.
 
If set to broadcast-&gt;local, the UniKey clients will broadcast to the network first, and will try to connect to the UniKey specified in NetUniKey configuration file when they cannot find any UniKey via the broadcast.
 
You can save this configuration file by clicking on "Save", or read the previous client setting file by clicking on "Read".
 
'''''Server setting'''''
 
[[Image:UniKey_Console_Tool_Pic35.jpg]]
 
In this panel, you can enter the server IP, desired server Port, and timeout. Enable/Disable the black and white IP list.
 
To add an IP address to the list, click on the corresponding "Add" button, in the pop-up window, enter the start and end IP addresses. Or you can move an IP from black list to white list by click on "&gt;/&lt;" buttons.
 
• If the white list is enabled, only IP addresses in this list can access the server. If the list is empty, then no clients can access the server.


• The black list always has the highest priority. When the server service starts, it always check the black list first. If an IP appears in both black and white lists, the IP will be blocked.
This option allows you to configure your UniKey device (PRO, Time, and Drive) in a network environment. In the first line, you can set the maximum number of users who can connect to the server simultaneously.


===File System (UniKey Drive)===
====Client setting====
* Server IP is the servers IP address in the network. This address will guide clients to find the server in the network.
* Server port is the port to build communications between client and server.
* Time-out defines the maximum waiting period. If the client sends a request to the server, but the server does not send a response back in the set time, then the client is denied access.
* The default time-out period is 5 seconds.


File System will allow you to manage the hidden partition and the secure partition on the UniKey Drive dongle.  
<table class="wikitable" align="left" style="width: 100px;">
<tr>
  <td align="center"><i>You can use this to control the behavior of the NetUniKey Client</i></td>
</tr>
</table>
The access mode box shows how NetUniKey Clients access the NetUniKey Server. If you set it to access by IP, NetUniKey Server accepts only ONE client per IP. If this value is set to access by process, the NetUniKey client from the same process can only be accepted once. If it is set to access by thread, NetUniKey can be accepted in any thread. Access by shared IP means all requests from a single IP will be counted as 1. To facilitate setting other devices with the same configuration, you can save your configuration information into a file, or to update a device remotely, you can generate an update file.


[[Image:UniKey_Console_Tool_Pic36.jpg]]
Working mode specifies how the UniKey Client will operate. If this value is set to local only, the NetUniKey Client will only work with a UniKey dongle attached to a local USB port.
If this value is local-&gt;network, the UniKey Client will check for a local UniKey dongle attached to a USB port first, if this fails, it will try to search for the UniKey dongle attached to the UniKey server in the network.
If you set it to network only, the NetUniKey Client will only work with the UniKey dongle attached to the UniKey server. When this value is set to network-&gt;local, the NetUniKey client will try to connect with the UniKey dongle attached to UniKey server first, and if it fails, it will try to load a local UniKey attached to a USB port.
Search mode sets how UniKey clients will try to find a UniKey dongle on the network. Local only is used for connecting to the server by using the server IP set in the configuration file. If it is set to local-&gt;broadcast, the UniKey client will try to use the information in the configuration file first, if this fails, the UniKey clients will broadcast to the local network to find the UniKey.
If set to broadcast-&gt;local, the UniKey clients will broadcast to the network first, and will try to connect to the UniKey specified in NetUniKey configuration file when they cannot find any UniKey via the broadcast. You can save this configuration file by clicking on Save, or read the previous client settings file by clicking on Read.


'''''Entering the hidden partition'''''
<div style="clear:both;"></div>
====Server setting====


[[Image:UniKey_Console_Tool_Pic37.jpg]]
[[File:console device network server.png|thumb|left|500px|The default port is 5680]]


To enter the hidden partition, please input the four passwords to the UniKey Drive file system. Then press "OK" to enter it. All the data stored on both the hidden and secure partitions are encrypted by a secure 128-bit algorithm.
<div style="clear:both;"></div>
 
In this panel, you can enter the server IP, desired server port, and timeout. Enable/Disable the black and white IP list. To add an IP address to the list, click on the corresponding Add button, in the pop-up window, enter the start and end IP addresses. Or you can move an IP from the black list to white list by clicking on the &gt;/&lt; buttons.
[[Image:UniKey_Console_Tool_Pic38.jpg]]
* If the white list is enabled, only IP addresses in this list can access the server. If the list is empty, then no clients can access the server.
 
* The black list always has the highest priority. When the server starts, it will always check the black list first. If an IP appears in both the black and white list, the IP will be blocked.
You will now be able to save, edit and download the content stored on the hidden partition etc.  
 
'''''Enter secure partition'''''
 
[[Image:UniKey_Console_Tool_Pic39.jpg]]
 
The secure partition is also known as the password protected partition; customers will be able to open it by providing the correct password.  
 
===Initiate===
 
The initiate tab for the UniKey Drive contains two parts, format and partition device memory.
 
[[Image:UniKey_Console_Tool_Pic40.jpg]]
 
'''''Format'''''
 
[[Image:UniKey_Console_Tool_Pic41.jpg]]
 
By using the Format function, customers can format the UniKey Drives memory (4K memory for security), SID, License module, Algorithm and Update Tag.  
 
'''''Partition (UniKey Drive)'''''
 
[[Image:UniKey_Console_Tool_Pic42.jpg]]
 
By choosing to partition, customers will need to input four unique passwords for logging onto UniKey Drives file system. A customer can press the "Default Password" button for loading the default password automatically.  
 
[[Image:UniKey_Console_Tool_Pic43.jpg]]
 
Device capacity is the UniKey Drives total memory. UniKey Drive dongles are available in 2, 4, 8 and 16GBs. An image file (.ISO) is used for UniKey Drive’s Virtual CD-ROM partition. A customer could burn their own ISO file to the UniKey Drive’s Virtual CD-ROM.
 
Hidden partition capacity, Normal partition capacity and Secure partition capacity memory space can modified by the customer.
 
Customers need to create a password for the Secure partition, so that the end user will be able to open the password protected partition by inputting the correct password.  


===Generate===
===Generate===


[[Image:UniKey_Console_Tool_Pic44.jpg]]
[[File:console generate unikey update.png|500px]]


'''''Generate UniKey File'''''
====Generate UniKey File====
UniKey file is used by the UniKey Burner tool, when a customer wants to burn the dongles in a batch by using the same configurations and settings, this file will be loaded into the UniKey Burner tool.  Pressing the Read button will load the information stored on the .uky file to the Console tool. The Generate button will create the .uky file with the dongles information/settings from the Console tool.


UniKey File is used by the UniKey Burner tool, when a customer wants to burn the dongles in a batch by using the same configurations and settings, this file will be loaded into the UniKey Burner tool.
Pressing the "Read" button will load the information stored on the .uky file to the console tool.
The "Generate" button will create the .uky file with the dongle’s information/settings from the console tool.


===Generate Update File===
===Generate Update File===


[[Image:UniKey_Console_Tool_Pic45.jpg]]
[[File:console generate update file.png|500px]]
 
The Update File is used by the UniKey Drive Remote Updater, it does the same thing as the UniKey Remote Update Generator does. The "Properties to be bound" box will allow the customer to bind specific HID, SID, License Modules and Update Tags to the generated .upt2 file. After binding with a specific value, the .upt2 file will check if the values stored inside of the UniKey Drive dongle are the same or not. If they are not the same, the .upt2 file will not update the UniKey Drive.
 
The "Property to be written" box allows the customer to use the .upt2 file for updating the settings and configurations of the target UniKey Drive dongle.


File Password will allow the customer to set an independent password for the generated .upt2 file, and then when the end user updates their UniKey Drive dongle by using the corresponding .upt2 file, they will need to input this password in order to access/use the .upt2 file.
The Update File is used by the UniKey Drive Remote Updater; it does the same thing as the UniKey Remote Update Generator does.  The Properties to be bound box will allow the customer to bind specific HID, SID, License Modules and Update Tags to the generated .upt2 file. After binding with a specific value, the .upt2 file will check if the values stored inside of the UniKey Drive dongle are the same or not. If they are not the same, the .upt2 file will not update the UniKey Drive. The Property to be written box allows the customer to use the .upt2 file for updating the settings and configurations of the target UniKey Drive. File password will allow the customer to set an independent password for the generated .upt2 file, and then when the end user updates their UniKey Drive by using the corresponding .upt2 file, they will need to input this password in order to access/use the .upt2 file.

Revision as of 15:19, 26 July 2016

UniKey Console

User Guide

Version 8.3

Version Date
1.0 2006.1
1.1 2006.8
1.2 2006.10
1.3 2006.12
2.0 2007.2
2.1 2007.4
2.2 2007.8
3.0 2008.5
4.0 2008.8
5.0 2009.3
6.0 2010.4
7.0 2010.6
7.1 2010.8
7.3 2010.9
8.0 2012.3
8.1 2012.4
8.2 2016.5
8.3 2016.7

Introduction

UniKey Console is a powerful tool to help software vendors manage their software development, license software and track their software sales performance. It can be integrated into your ERP, CRM and financial system seamlessly. The UniKey Console is designed to follow the waterfall software development procedure, which helps software vendors manage their different products along its whole lifecycle. The feature based license management method is an innovative way to protect your software away from intruders and to license efficiently. To administrate all software, check the sales history and gather information to prepare for the following software development, UniKey Console employs a database to record information. It supports almost all database techniques available in todays market, such as SQL, MySQL, and Oracle. Additionally, this Console supports multiple users logging in to the system. Different operators in different roles can logon and operate the Console utility within their personal level of permission. For example, employees from a product department can login to the Console system, and submit product orders, but they cannot see any other information about the sales department.


Deployment

This section will introduce how to deploy the UniKey Console on your system. The Console has two parts, the front is a GUI which is green software and does not need any installation. Users simply copy the folder to their computer. The next step is to install a database and create tables. In the SDK we provide instructional pictures, follow the pictures to finish the MySQL installation. If no version of MySQL Server is included in the SDK, you can download the latest version from: https://dev.mysql.com/downloads/mysql/. After installing the database, click on Start, and open the MySQL Command Line Client. Log in to the database by entering your password.

Device mode does not support multiple users and will not keep operation records on the database

To create the required tables, input "source file directory"\createconsoletables.sql (if that does not work try the command: source "source file directory"\createconsoletables.sql) and press enter. After the database has been successfully built, open the console GUI by double clicking on the Console icon (you may need to re-open the Console application to register any changes to the database).


UniKey Console Working Mode

The UniKey Console provides two different modes for users, Manage Mode and Device Mode. The Manage Mode is mainly used to manage the whole lifecycle of your software, and allows multiple operators to logon the system to implement their operations with their own levels of permission. Device mode provides a quick way to configure parameters or generate an update file for a UniKey device.

Manage Mode

The UniKey Console Manage Mode closely follows the software lifecycle, from the beginning of software design to the end of software development. At the design stage, software designers will separate the software into different blocks according to their functions. We highly recommend medium to large software vendors use Manage Mode to manage and license your software.

Login

This system supports remote login. Users can set up the servers IP via the GUI, and log in to the server remotely to finish their operation. To start using the Console, double click on the UniKey Console. The login interface will pop up.

Input the user name and password to log in to the system.

  • If this is the first time you are logging in to the system, the user name is administrator, and password is admin.
  • The administrator should log in to the system and change their password first, and then he/she can create other accounts for different operators.
  • If you try to log in to a server remotely, click on Network Setting and in the pop-up window, input the server IP address and port number.

Product

The product panel provides a series of interfaces for product related operations, including creating license features and generating product license strategies by combining one or more license features together.

Feature Setting

Feature setting is the most basic element to form a license for a product. For example, if the software requires a license based on expiration time, a time module shall be selected and the expiration time shall be set. This will form a license feature. If more license strategies are going to be used, more license features can be created.

Click on Add to add a license feature in the pop-up window.

As you can see from the above picture, lots of license features can be used to build up a single product license, such as license module, memory, arithmetic, SID, max connections, partition information, etc.

License Module

This feature limits access to the software based on rules. When the correct UniKey is connected, the software bound to the UniKey is activated.

License Module is the most widely used feature on all UniKey devices

There are two ways to use the License Module. The first is to bind a module to the software, once the module is enabled, the software will start working. The second is to set the execute count, so every time when the software is started the count will decrement until the value reaches 0.

A non-zero number must be set to enable the License Module. This number will not be changed unless Exe Count Mode has been selected.

Memory

UniKey has 4K memory which allows developers to store any information, such as a software abstract, version information, buyers or developers information, etc.

In the feature setting:

  • Input the encoding in the left column.
  • Input the start address, which refers to the start point where the content will be stored.
  • Input the length, which refers the length of content that will be stored in memory.

Arithmetic

To protect your software safely, it is a good idea to write a block of code inside the UniKey device itself, therefore without the device, the software cannot run. The arithmetic option is designed for this purpose.

For the syntax and how to write an equation, please refer to the UniKey manual in the arithmetic section

In the feature setting:

  • Input your custom arithmetic.
  • Input the start address, to set the start point of the arithmetic.
  • Input the length, so that the arithmetic will end at the start address plus the length.

SID Range

SID is another important property in UniKey that can provide effective license management and software protection. Developers can use this feature to set it so that only one key or several keys can launch a specific copy of software.

Feature setting - In the SID generation mode, which will generate a rule for how UniKey SID codes are created, there are 4 different methods of generation:

  • All the same: all SID burned to UniKey devices will be the same.
  • Increment: the SID value of every UniKey device will add 1 from the initial value when burning.
  • Decrement: the SID value of every UniKey device will decrease by 1
  • Time/date: the SID value will be the produced from the current time/date

The initial value gives a starting SID value/position/number.

Update Tag

The update tag is mainly used to update related issues. It can be used to record the number of times the software has been updated, or protect an update file from being used by other UniKey devices with a different update tag.

Max Connections

Some software may employ a floating license strategy, where people on the network will share a license. The maximum number of connections can restrict the total number of users who share a license simultaneously on a local network.

Seed

For every UniKey device, the password cannot be customized, but developers can generate their own passwords by themselves. Passwords can be generated by entering a seed value in the seed setting, and when a license is produced, the password of the device will be changed to the value calculated by the UniKey system based on this seed value.

In the feature setting, input the seed value.

  • Each UniKey dongle can only generate a new password TWICE! After this it cannot generate anymore passwords.
  • When generating a new password, the dongle is formatted.
  • To reset the password for a 3rd time, the UniKey dongle must be sent back to SecuTech

Partition information

Each UniKey Drive device has four partitions:

  • Virtual CD-ROM emulation drive
  • Public partition
  • Password protected partition
  • Hidden partition

This page is used by customers to set the space for each partition on the UniKey Drive device.

Files in hidden partition

UniKey Drive has a unique hidden partition which allows users to store files. Each file stored on the hidden partition is invisible and inaccessible to end users. Vendors could integrate UniKey Drive APIs with their software and then that software will be able to access the files stored on the UniKey Drives hidden partition.

The files stored on the hidden partition should have the filename as an 8.3 format, for example, 12345678.123

Product setting

Product setting is used to combine the basic license elements and features together to form a product license strategy, to help meet the different requirements of customers, businesses, and sales strategies. For each software package, decision makers can set several license strategies by selecting different license features which have been set in Feature setting, maximizing their market share and revenue. For some special requirements, a customized license can even be quickly generated.

The above picture shows the Product setting panel, and to add a license for a product click on the Add button.

After clicking on Add, this window is displayed

The configuration will affect this product, and will not change previous Feature settings

Input the product name; a comment can be added in the comment box, and please select the correct device type(s). In the Feature setting section, you can reset the update tag, max connections, seed, and SID generation mode by checking the respective item boxes. This provides a quick interface to modify the license settings. From the Feature list choose the preferred features from the list and click on > to move them to the products desired features on the right. These features will combine together to form a product license.

Once an order has been placed on a product, this product will not be deleted

Based on the current product, you can create a new license quickly by using the Customize function; you can then input a new name and reset values or add more features to create another license. This allows you to easily create another product with a new name and unique product ID that may share features with other products. A product can be changed by selecting the product and clicking on Edit, or can be deleted by clicking Delete.

Sales

The sale function will help vendors to manage their customers and orders. It contains two configurations: Customer Management and Order Setting.

Customer Management

Customer Management will record all information about customers and their order history. If a customer wants to place an order, then this customer must be added to the customer list. Click the button Add to execute the corresponding operation.

Order Setting

Order setting contains order related operations, such as place an order, update a product, append a new order to an existing order, edit, delete, submit and check status.

Production

Production is mainly used for the production department, once an order has been submitted, the order will be passed to the production department, x and this order will be listed. The producer shall produce the order.

Click on Production, and follow the instruction to finish production procedure.

If there is an error or problem in the order, the producer shall decline the order by clicking on decline, and then the order will be sent back to sales.


Management

Administrators shall use the Management tab to add, edit and delete users, including user name, password, and assign permission levels.


Device Mode

Device Mode provides you a direct way to configure all parameters for your UniKey device locally or to generate a remote update file. It is suitable for altering UniKey hardware operations and property configurations directly.

When you click on Check status, the status of the device connected to the local computer will be displayed in the message box. By entering the correct password, and then clicking on User logon or Vendor logon, you can log in to the device as a user or vendor to perform operations within your level of permission.

Configure

Click on Configure on the left side of the control panel, all configuration options will be displayed in the dropdown menu:

  • General information
  • Memory
  • Algorithm
  • License and Time Module
  • New password
  • Encrypt/decrypt
  • Random number
  • Format
  • Network

You can configure any properties according to your own desired licensing strategies. By clicking on the corresponding options, you can enter your required parameters.

General information

The HID is a fixed serial number, and cannot be changed.

In menu, the UniKey devices SID and Update Tag connected to your computer will show in the message box. You can change the SID and Update Tag value, by entering value in the respective input box and then clicking Write.

Memory

In Memory, you can read, edit, and delete content stored in the UniKeys memory. By clicking on Read, you can read content from the UniKeys memory, and by clicking on Write, you can write all content edited by you into the UniKeys memory. To facilitate your editing, UniKey Console provides a load from file function. By clicking on Load from file, you can load content stored in a file to Console, and then write it to memory by clicking on Write. Alternatively, you can save the data which is read from the UniKeys memory to a file by clicking on Save to file.

Algorithm

UniKey Algorithm is a very powerful method to protect your software, as this block of code is stored directly in UniKey, independent in memory from where software code is stored. Without the right permissions, this block of code cannot be written to or read by anyone. An algorithm can be typed into the Input algorithm field. You can input more than one statement in your algorithm and each statement is separated by comma. Input the start address to set the starting point for your algorithm, and input a length to set the end point. The end point address will be the start address plus length. Select a calculation mode, and then click on Write to write your configurations into the UniKey. If you want to run your algorithm for a test, you can initialize the variable, A, B, C, D, seed/module (depending on the selected calculation mode), and start address, and then click on Run. The result from A, B, C, and D will be displayed directly.

Module

License Module allows you to enable/disable specified modules and set the number of execution times. In the list on the right side of the console, you can see a list and module status. Click on the white triangle to check each corresponding modules parameters and status.

To enable a module, a positive number must be entered

Click on Check to view the information and status of a device and click on Write to write your configurations.

You can enable/disable the auto-decrement function by toggling the check box next to Auto-decrement. To check the information in all modules, you can click on the Check All button; you can also set all modules by clicking on Write All to write all settings to device.

Encrypt/Decrypt

Each UniKey dongle has an encrypt/decrypt function, and can store 3 keys inside each device. In the encrypt/decrypt option, you can choose the encrypt/decrypt operation, generate keys and check output. From the Select Operation drop-down menu, you can choose a specific operation. For example, choosing generate key, you can choose the key you want to use and click on Run to generate a secret key for your UniKey. Encryt/Decrypt: to check the encrypt/decrypt result, you can choose your desired operation from the Select Operation drop-down menu. Select the key, choose the encoding, input your content (the length must be an integer multiple of 16) in the input box and then click Run, you can then see the result in the output box. To reverse the operation, you can click on < between the input and output boxes, choose the opposite operation, and then click on Run to check the result from the output box. UniKey also provides an MD5 algorithm, for you to perform checksums. You can perform the MD5 calculation by following the same procedure.

Network

This option allows you to configure your UniKey device (PRO, Time, and Drive) in a network environment. In the first line, you can set the maximum number of users who can connect to the server simultaneously.

Client setting

  • Server IP is the servers IP address in the network. This address will guide clients to find the server in the network.
  • Server port is the port to build communications between client and server.
  • Time-out defines the maximum waiting period. If the client sends a request to the server, but the server does not send a response back in the set time, then the client is denied access.
  • The default time-out period is 5 seconds.
You can use this to control the behavior of the NetUniKey Client

The access mode box shows how NetUniKey Clients access the NetUniKey Server. If you set it to access by IP, NetUniKey Server accepts only ONE client per IP. If this value is set to access by process, the NetUniKey client from the same process can only be accepted once. If it is set to access by thread, NetUniKey can be accepted in any thread. Access by shared IP means all requests from a single IP will be counted as 1. To facilitate setting other devices with the same configuration, you can save your configuration information into a file, or to update a device remotely, you can generate an update file.

Working mode specifies how the UniKey Client will operate. If this value is set to local only, the NetUniKey Client will only work with a UniKey dongle attached to a local USB port. If this value is local->network, the UniKey Client will check for a local UniKey dongle attached to a USB port first, if this fails, it will try to search for the UniKey dongle attached to the UniKey server in the network. If you set it to network only, the NetUniKey Client will only work with the UniKey dongle attached to the UniKey server. When this value is set to network->local, the NetUniKey client will try to connect with the UniKey dongle attached to UniKey server first, and if it fails, it will try to load a local UniKey attached to a USB port. Search mode sets how UniKey clients will try to find a UniKey dongle on the network. Local only is used for connecting to the server by using the server IP set in the configuration file. If it is set to local->broadcast, the UniKey client will try to use the information in the configuration file first, if this fails, the UniKey clients will broadcast to the local network to find the UniKey. If set to broadcast->local, the UniKey clients will broadcast to the network first, and will try to connect to the UniKey specified in NetUniKey configuration file when they cannot find any UniKey via the broadcast. You can save this configuration file by clicking on Save, or read the previous client settings file by clicking on Read.

Server setting

The default port is 5680

In this panel, you can enter the server IP, desired server port, and timeout. Enable/Disable the black and white IP list. To add an IP address to the list, click on the corresponding Add button, in the pop-up window, enter the start and end IP addresses. Or you can move an IP from the black list to white list by clicking on the >/< buttons.

  • If the white list is enabled, only IP addresses in this list can access the server. If the list is empty, then no clients can access the server.
  • The black list always has the highest priority. When the server starts, it will always check the black list first. If an IP appears in both the black and white list, the IP will be blocked.

Generate

Generate UniKey File

UniKey file is used by the UniKey Burner tool, when a customer wants to burn the dongles in a batch by using the same configurations and settings, this file will be loaded into the UniKey Burner tool. Pressing the Read button will load the information stored on the .uky file to the Console tool. The Generate button will create the .uky file with the dongles information/settings from the Console tool.


Generate Update File

The Update File is used by the UniKey Drive Remote Updater; it does the same thing as the UniKey Remote Update Generator does. The Properties to be bound box will allow the customer to bind specific HID, SID, License Modules and Update Tags to the generated .upt2 file. After binding with a specific value, the .upt2 file will check if the values stored inside of the UniKey Drive dongle are the same or not. If they are not the same, the .upt2 file will not update the UniKey Drive. The Property to be written box allows the customer to use the .upt2 file for updating the settings and configurations of the target UniKey Drive. File password will allow the customer to set an independent password for the generated .upt2 file, and then when the end user updates their UniKey Drive by using the corresponding .upt2 file, they will need to input this password in order to access/use the .upt2 file.