TMW Licensing Guide 2023
TMW Licensing Guide 2023
This Documentation and its’ associated distribution media contain proprietary information of Triangle
MicroWorks, Inc. and may not be copied or distributed in any form without the written permission of
Triangle MicroWorks, Inc.
The license management portion of Triangle MicroWorks’ applications is based upon the following copyright:
Sentinel® EMS
© Thales, Inc.
All rights reserved.
1. Overview of Licensing
1.1 Introduction
Triangle MicroWorks (TMW) provides licensing for a number of applications for testing communications
protocols. Starting in 2014, these applications are protected with a sophisticated and flexible licensing system
provided by Thales Inc. (formally SafeNet Inc.) When you purchase a license from TMW, you are entering into a
contractual agreement which provides you with the right to use the TMW application for an unlimited amount of
time provided you agree with and abide by the terms of the licensing agreement.
TMW also provides advanced software libraries which are used to implement communication protocols. These
libraries are licensed per target application.
2. Trial License
Once you have successfully downloaded an installer for a TMW application, simply run the installer. Depending
on the application, the installer will ask a series of questions relating to the details of the installation and will then
place the executable and associated file in a directory called Triangle MicroWorks in the Program Files directory.
The installer will also place a shortcut to the application on desktop.
If you choose to purchase the application, a product key will be sent to you to convert your trial license into a
permanent license. If you do not purchase the product, you can remove the application by using the Add/Remove
Programs tool in the Control Panel. Removing and reinstalling the application will not restart the trial period.
3. Licensing Tools
If the TMW application trial period has expired or there is an error condition that does not allow the application to
acquire a license, then a dialog box is displayed that contains a button that will launch the TMW License Manager.
Whether selected from the menu or from the dialog box button, the License Manager dialog will appear as shown
below. This example is for the Test Suite Pro application which has three available options.
Use this button to activate a Product Key or a Product Update Key that you have received from TMW.
Pressing this button brings up this dialog box:
The Activate Key dialog box provides two methods for activating a key:
1) The On-Line activation method requires an Internet connection. When the Activate Online button is
pressed, the application will ask for your product key. More information on this process is provided in the
Section called Activating a Key Using the Internet.
2) Activating a key without Internet access requires a two-step process and involves transferring files
between the target computer and a computer that does have Internet access. The first step is to use the
Create C2V button to create a file on the target computer that contains a fingerprint of the PC. The file
will have an extension of “c2v” which stands for “customer to vendor”. This file must be uploaded to a
webpage which will then create a “v2c” file on an Internet capable PC. The file will have an extension of
“v2c” which stands for “vendor to customer”. This file must be returned to the target PC and installed
using the Install V2C button on the Activate Key dialog. More information on this process is provided in
the Section called Activating a Key Offline.
This web page provides information on all licenses that are visible to your computer including those that are
installed locally and on your network. For each license, you can see the products contained in the license, the
features available to each product, and the currently open sessions on each license. In addition, you can use
this tool to detach a network license from the license pool so that it can be used off the network. You can also
control access to licenses on you PC from other PCs on the network and limit your PCs ability to see other
license servers elsewhere on the network. More details are provided in the Section on Using the Admin
Control Center.
1. Install the application on the Destination computer. After installation, the application will have a 21
day trial license and will have the Sentinel RTE installed.
2. Run the RUS_TMW.exe utility on the Destination computer. Select the Transfer License Tab,
choose a destination file, and click the Collect and Save Information Button to generate a Recipient
Information file.
3. Move the Recipient Information file to the Source computer.
4. Run the RUS_TMW.exe utility on the Source computer (i.e., the computer the license is being
transferred from). Select the Transfer license tab, and in the Step 2 area, browse to the Recipient
Information File, so that it is shown in the “Read the recipient information file from” field.
5. In the Step 2 area, select the key to move in the grid. In the example image below, there are two
licenses that are available to move. Make sure you select the correct key. Use the Admin Control
Center to help determine the correct key ID if necessary.
6. Select a file name and path using the browse button so that the file name is shown in the “Generate
the license transfer file to” field. Click the Generate License Transfer File button. The file will be
created on the Source computer. This file will have a “.h2h” extension.
7. Finally, move the Transfer file to the Destination computer and browse to it using the browse button
on the Apply License File Tab within RUS_TMW.exe. Click the Apply Update button and license
will be moved.
Note that after the Transfer file is created, your license is now in this file and nowhere else. Do not lose this
file as it cannot be recreated. If this file is lost before it is applied to the destination computer, then your
license is lost.
4. Purchased Licenses
2. The License Manager Window will appear. Click the Activate Key Button.
3. On the dialog box that appears, click the Activate Online Button.
4. A dialog box will appear requesting the product key that you received from TMW after purchasing the
product. Enter the product key in the text box and click the Submit button.
5. The application will communicate with the TMW license server, and a license will be installed on the PC.
If the process is successful, the following message will be displayed. If there are any problems with the
product key or with the Internet connection, then an error message will be displayed.
4. A standard Save dialog box will open. You can save the file to any convenient location and you can name
the file anything you like, but the extension must remain “.c2v”. This stands for “customer to vendor” and
will be recognized by the license server at TMW.
5. Save the file using the Save Button. Once the file is saved, the file must be moved to a PC that has
Internet access to perform the next steps.
6. On the PC with Internet access, open a browser and go to:
https://licensing.trianglemicroworks.com/ems/customerLogin.html
7. The browser will display the Customer Login Portal. Enter the Product Key you received from TMW and
click the Login Button.
8. Review the license information. There should be a non-zero value in the Remaining field indicating that
one or more activations are available for this key. If everything is correct, click the Offline Activation
Button.
9. The Generate License dialog box will display. Click on the browse button (highlighted in yellow) in the
Upload C2V section and select the file you created a few steps earlier from the standard Open dialog box
that opens. When the correct file is shown in the Upload C2V section, click the Generate Button.
10. The license is generated on the server and now needs to be downloaded. Click the Download V2C File
link (highlighted in yellow). This will either save the file to your Downloads directory or open a Save As
dialog box, depending on your browser settings. You can save the file anywhere and rename it if you like,
but the extension must remain “.v2c”. This stands for “Vendor to Customer”. Do not try to run the file.
11. The .v2c file is saved to the PC. This file needs to be moved to the PC where the license will be installed.
If the license will be installed on a different PC, move it to any convenient directory on that PC.
12. On the PC where the license will be installed (which now contains the .v2c file), reopen the License
Manager window from within the TMW application by selecting License from the Help menu.
13. Click on the Activate Key Button, then click on the Install V2C Button on the Activate Key dialog box.
14. A standard Open File dialog box will appear. Browse to the .v2c file that you copied to the PC and click
the Open Button. The key will be installed and a message will be displayed indicating the operation was
completed. The TMW application will need to be restarted for the new license to take effect.
From the license manager window, click on the Open ACC.. Button.
You can also go directly to the ACC by typing this address into a web browser:
http://localhost:1947/
The web page will look similar to this example:
Use the links on the left side of the page to view the available pages. You can examine the license keys available
both locally and on the network. You can also click to pages to see available products, features, and sessions.
Sessions are listed when an application logs into a feature. Applications log into features automatically and there
is no user action required.
The first link in the option list shows the licenses keys that are available to this PC. In the example below, a single
license is available. The key type is HASP SL which indicates that the key is software based. If the key was on a
dongle, the type would be HL.
Note that the Vendor number is 102099. This is always the Vendor number of TMW products.
The buttons on the right side of the row allow you to see which products and features are available for this key.
The Session button allows you to see information on what machines are using this key. This is only relevant to
network license, not for single seat licenses.
If you click on the Products button, the following screen will appear.
Here the product Iron is listed for the key. This is the only product in the key. Generally, TMW will only
associate a single product to a key. Click the Feature button on this row to see the features in this particular key. If
you click on the Feature link in the Options block, all features available to the PC will be displayed. Here is the
result on clicking the button on the Iron row in the table:
This page shows that there is a single feature for this product called Iron Base Seat. This means that the license is
a fixed seat license. If it was a network license, the feature would have been called Iron Base Floating. This is a
trial licenses which is evident from the Restrictions column. This trial has not started, otherwise the end date
would be shown. Here are portions of the image at higher zoom values:
Unclick the check boxes for Allow Access to Remote Licenses and Broadcast Search for Remote Licenses as
shown above. Click the Submit Button to make the change. This will prevent the PC from trying to communicate
with other licenses managers on the network.
If you are trying to access a network license on a different PC somewhere on your subnet, but the application does
not find the license, enter the IP address of the PC that contains the license in the “Specify Search Parameters” box.
You can also try clicking the Broadcast Search for Remote Licenses checkbox and the Aggressive Search for
Remote License checkbox although these options do increase network traffic.
To prevent other license managers on the network from seeing the licenses on the PC, open the ACC and click on
the Configuration link in the Option area. Then click on the tab labeled Access from Remote Clients.
Unclick the check box for Allow Access from Remote Clients as shown above. Click the Submit Button to make
the change. This will prevent other license managers on the network from seeing the PC and its licenses. This
option is only a consideration if the local PC is hosting network license(s).
5.4 Logging
By default, the licensing run time environment is installed with logging turned off. Logging can be enabled for
debugging purposes by clicking on the Configuration link in the Options area and then the Basic Settings tab of the
ACC as shown below.
Check the Write an Access Log File checkbox to begin recording a log. Other logging options are available on this
page which allow you to customize the logging. If you are having a problem with the licensing of an application,
the TMW Support team may ask you to turn on the logging.
There are additional settings available to control detaching of licenses. The Reserved Licenses value can be used
to ensure that some licenses remain available on the network. The Max. Detach Duration sets the maximum time
that a license can be detached from the network before it is automatically returned to the network pool. Do not set
the Max Detach Duration to a very large number (i.e. 999). If a license is detached to PC and that PC is lost or its
storage is corrupted, there is no way to retrieve the detached license until the Max Detach Duration is reached. We
suggest never setting the value to more than 30 days. If a PC needs a dedicated license for months or years at a
time, then a network license is not the best option for licensing.
Once detaching is enabled, a network license can be detached from the Products link in the Options area. A
Detach Button is now visible in the row for each network license that allows detaching. The value in the Available
column indicates how many licenses can currently be detached. Note that detaching is never available for fixed
seat licenses.
Clicking the Detach Button will display the following page where details about how to detach the license are
provided. In the Detach Method area, the name of the PC receiving the license is provided. The PC must be on
the network at the time that the detachment is made. The expiration of the detached license is provided at the
bottom of the page.
A license can be detached in an online or offline mode. In the example below, the offline mode is shown. Here
the detaching is done on the license server itself and the detached license is saved to a file. That file is then sent to
a remote PC where the file is read by the ACC using the Update/Attach Option.
Once the required information is provide, click the Detach Button. If the license is successfully detached, the
following page is displayed.
The detached license is saved in a file with an H2R extension. The file must be saved to the local hard drive by
clicking the Save As… Button. Save the file to a convenient location, but do not change the extension. Once the
file is saved, it must be moved to the destination PC (if it is different from the one the detaching is occurring on).
The H2R file must be applied to the license manager of the destination PC. This is done in the same manner as
applying a V2C file using either the License Manager Dialog box in a TMW application or the RUS_TMW.exe
utility. The file can also be activated using the Update/Attach link in the Options area of the ACC page.
If you click the Update/Attach link in the Options area of the ACC page on the destination PC, the following page
is displayed.
This page provides a description of the various file types that can be activated using this page. Click the Browse
Button to find the file to be activated, then click the Apply File Button.
To use the online mode of detaching a license, the remote PC must be able to see the network license in its list of
Products therefore the PC must be connected to the same network as the license server. The Detach button is then
clicked as shown in the image above on the remote PC after which the Online Detach method can be selected. The
license will be installed locally and there are not further steps required.
1. Install the SDG application on the Destination computer. After installation, the application will have
a 21 day trial license, and the Sentinel Run Time Environment will be installed and running.
2. Run the GTWSettings utility on the Destination computer using the following command line
parameters:
GTWSettings -i “fingerprint.id”
This will create a file called “fingerprint.id” which will contain information identifying the
destination (recipient) computer.
3. Move the Recipient Information file to the Source computer.
4. Run the GTWSettings utility on the Source computer using the following command line parameters:
GTWSettings -t “fingerprint.id” “transferfile.h2h”
© 1994 - 2023 Triangle MicroWorks, Inc. All rights reserved. Page 25
Triangle MicroWorks Licensing Guide
This will create a new file called transferfile.h2h which contains the license for the SDG. If more
than one license is found, you will be asked to select the file to transfer from an ordered list.
5. Move the Transfer file to the Destination computer.
6. Run the GTWSettings utility on the Destination computer using the following command line
parameters:
GTWSettings -l “transferfile.h2h”
This will install the SDG license from the transferfile.h2h file. This command will only work on the
Destination computer where the original Recipient Information file was created in Step 2.
Note that after the Transfer file is created, your license is now in this file and nowhere else. Do not lose this
file as it cannot be recreated. If this file is lost before it is applied to the Destination computer, then your
license is lost.
7. Troubleshooting
To fix the problem, we have included a small utility call SNReset.exe in the executable directory of all TMW
applications. This can typically be found in C:\Program Files\Triangle Microworks\application name. By
running this application, the components of the licensing system required to activate a product key will be
reactivated.
A message indicating that a license could not be found for the application may also be displayed. Another
indication that the service is not running is that the ACC cannot be displayed when trying to access
localhost:1947 in a browser.
In order to start the service, click the Windows Start button and type “Services”. Start the Services utility and
search for Sentinel LDK License Manager. If the service is not running, right click on the service name and
select Start from the menu as shown below.
This means that the license the TMW provided requires a newer version of the Sentinel runtime environment.
This can also happen when a network license is being used, but the PC holding the network license has an old
version of the Sentinel runtime than the PC that is trying to acquire the license. To see the version of the
runtime that is installed on a PC, open the ACC on a browser by going to localhost:1947. The click on the
Diagnostics link on the left side of the page. The runtime package version is listed near the bottom of the
page as shown here:
Check that the Sentinel LDK License Manager service is running. If this service is running, the problem
could be that port 1947 is blocked by a firewall policy. The Sentinel licensing system requires that the
application has access to port 1947.