Understanding the MIL Licensing Mechanism. Background. Temporary License

Similar documents
MapInfo Professional 12.0 Licensing and Activation

Sage ERP MAS 90 Sage ERP MAS 200 Sage ERP MAS 200 SQL. Installation and System Administrator's Guide 4MASIN450-08

Shearwater Research Dive Computer Software Manual

Welch Allyn PCH100 and PCH200 Installation Guide

1. How to install CDM driver on PC for Lambda devices

Matrox Imaging White Paper

CANON FAX L360 SOFTWARE MANUAL

SWCS 4.2 Client Configuration Users Guide Revision /26/2012 Solatech, Inc.

Orange Apps UserLogonUSB V1.0

SOCET GXP V4.1 LICENSE MANAGER QUICK-START GUIDE

System Integration Software

SPSS. Resolve common problems when installing SPSS. Document Purpose. IT Services.

Topaz Installation Sheet

SDK/Demo software Installation manual for windows using Matrox grabber Document number : Issue : Classification : Customer : Date : 14/04/2014

3. USB DRIVER Installation of USB driver Driver for Infinity SD Data Logger. INFINITY Series Acquisition Tools Manual

Resolving USB Driver Problems

Software Installation Instructions IK 5000 QUADRA-CHEK. Software Version 3.0.x

MAS 90. Installation and System Administrator's Guide 4WIN /04

STATISTICA VERSION 9 STATISTICA ENTERPRISE INSTALLATION INSTRUCTIONS FOR USE WITH TERMINAL SERVER

COGNEX. Cognex Vision Software. GigE Vision Cameras. User s Guide

ISaGRAF. Getting Started. Software release 5.2

USB DRIVER INSTALLATION GUIDE

Operating Manual QUESTOR

The Windows Vista Recovery Environment

Inmagic ODBC Driver 8.00 Installation and Upgrade Notes

CLEARONE DOCUMENT (REVISION 1.0) October, with Converge Pro Units

Digital Voice PC Client Software Setup Guide

Cognex Vision Software

Network Printing In Windows 95/98/ME

HASP Troubleshooting Guide

Personal SES Software Security. Installing and Updating the Personal (Stand Alone) Software Security Key. Version15.1

HP Point of Sale (POS) Peripherals Configuration Guide 2D Imaging / Linear / Presentation Scanner

Network Server for Windows. Overview of the Sequencher Network Page 2. Installing Sequencher Server for the First Time Page 3

CA /BrightStor ARCserve9 Backup Software

Centurion PLUS CPC4 Download Guide

ZENworks 11 Support Pack 4 Full Disk Encryption Agent Reference. May 2016

User Manual. Thermo Scientific Orion

Printer Driver Installation Guide

DataSuite Installation and Activation Guide

Colorfly Tablet Upgrade Guide

Guide to Installing BBL Crystal MIND on Windows 7

Symantec AntiVirus Corporate Edition Patch Update

AN220 USB DRIVER CUSTOMIZATION

Table of Contents Install a Printer Driver... 2 Print a Test Label... 9 Uninstall a Printer and Driver... 10

HP SimpleSave Hard Drive (USB 2.0 and USB 3.0) FAQ

LPR for Windows 95/98/Me/2000/XP TCP/IP Printing User s Guide. Rev. 03 (November, 2001)

Installing Global Logger USB Drivers

Witango Application Server 6. Installation Guide for Windows

IceWarp Server Windows Installation Guide

The following items are trademarks or registered trademarks of Kaba Mas in the United States and/or other countries. GITCON

Site Configuration SETUP GUIDE. Windows Hosts Single Workstation Installation. May08. May 08

Legal Notes. Regarding Trademarks. Model supported by the KX printer driver KYOCERA MITA Corporation

System Administration Training Guide. S100 Installation and Site Management

Test Center Enterprise. ios Device Onboarding Guide

e-dpp May 2013 Quick Installation Guide Microsoft Windows 2003 Server, XP, Vista, 7 Access Database

VERSION NINE. Be A Better Auditor. You Have The Knowledge. We Have The Tools. INSTALLATION GUIDE

AN220 USB DRIVER CUSTOMIZATION

Studio 5.0 User s Guide

CODESOFT Installation Scenarios

Ontrack PowerControls V7.2 for Exchange ReadMe

Ontrack PowerControls V7.2 ExtractWizard ReadMe

Vectorworks 2015 Site Protection Server User s Guide

GoldKey Software. User s Manual. Revision WideBand Corporation Copyright WideBand Corporation. All Rights Reserved.

IMPORTANT! CPD 8424R1

Defender Token Deployment System Quick Start Guide

Version Eight. Installation Guide

PrintFleet Local Beacon

USB Driver. Installation Manual

Select Correct USB Driver

Table of Contents. User s guide 2

Sentinel Protection Installer Version (Windows) ReadMe

BioWin Network Installation

Microsoft Windows 2000 Terminal Services

HP Softpaq Download Manager and HP System Software Manager

SCADAPack E ISaGRAF 3 User Manual

Network FAX Driver. Operation Guide

Unified Communications Installation & Configuration Guide

READ ME FIRST. Installation Instructions for TROY Font DIMM Printer and Font DIMM Kit

Vodafone Text Centre User Guide for Microsoft Outlook

User Manual. Onsight Management Suite Version 5.1. Another Innovation by Librestream

Access Control and Audit Trail Software

HP External Hard Disk Drive Backup Solution by Seagate User Guide. November 2004 (First Edition) Part Number

ILok Usage Guide. Version 7.3

How To Configure CU*BASE Encryption

USB PC Adapter V4 Configuration

How to configure the DBxtra Report Web Service on IIS (Internet Information Server)

Use only a shielded parallel interface cable that is IEEE 1284-compliant and/or a USB cable that is no longer than 6 feet long (1.8 meters).

Network Setup Guide. Introduction. Setting up for use over LAN

HP Business Availability Center

Portions of this product were created using LEADTOOLS LEAD Technologies, Inc. ALL RIGHTS RESERVED.

OMEGA STUDIO SOFTWARE INSTALLATION GUIDE

HP ProtectTools User Guide

ebus Player Quick Start Guide

How To Install Outlook Addin On A 32 Bit Computer

Software Activation. high security remote access. NCP Secure Entry Client

NVIDIA CUDA GETTING STARTED GUIDE FOR MICROSOFT WINDOWS

Creating a Complete Backup of Shelby v5 Data

CS SoftDent Practice Management Software Installation Guide for Client/Server Configurations

Sage 100 ERP. Installation and System Administrator s Guide

Pcounter Web Report 3.x Installation Guide - v Pcounter Web Report Installation Guide Version 3.4

Transcription:

Background This application note describes the license protection mechanism incorporated in Matrox Imaging Library (MIL) release 8 for Microsoft Windows 2000/XP without compromising its security. Each type of license (temporary, development and run-time) is reviewed with an emphasis on how each one interacts with the PC environment. The topics discussed in this document also apply to ActiveMIL release 8, which is included with MIL release 8. This document assumes the reader has a basic understanding of how MIL/ActiveMIL is licensed, as described in the MIL/ActiveMIL User Guide manuals. For the remainder of this document we will use the term MIL to designate ActiveMIL as well. Temporary License When MIL is first installed, a temporary license is automatically issued to the system for a period of 30 days, regardless of whether a hardware key (dongle) is connected to the system or not (Figure 1). The trial period begins from the day MIL is first used and not from when MIL is first installed. For example, if MIL is installed but first used five days later, the time remaining in the trial period will still be 30 days. The temporary license lets developers create an application using MIL, as well as run a MIL run-time installation while waiting for a permanent license. The temporary license unlocks all MIL modules allowing MIL to be used in its full capacity for the purpose of evaluation 1. The temporary license is not based on a hardware fingerprint 2, which allows the user to change hardware components (e.g., frame grabber) in the system without affecting the validity of the temporary license. License verification is performed while the MIL-based application is running. For the first verification, a dialog box is displayed indicating the number of days remaining until the temporary license expires (Figure 2). This dialog box also allows the user to temporarily disable the reminder message. The temporary license is tamperproof. Once the license has expired it is not possible to prolong or restart the trial period by changing the system date 3, or by uninstalling and reinstalling the software. Once a temporary license has expired, the only way to continue using MIL is to install a permanent development or run-time license key (Figure 3). Moreover, a MIL installation cannot be used as a MIL-Lite installation once the temporary license has expired. Figure 1: Hardware key (dongle) for USB (left) or the parallel port (right). Figure 2: The MIL Licensing dialog box provides the number of days remaining until the temporary license expires as well as the means to temporarily disable the reminder message. Understanding the MIL Licensing Mechanism / 1

Development license Each MIL package includes a development license for a single user in the form of a single hardware key (dongle), which is available for a parallel or USB port (Figure 1). The development license provides access to all MIL modules and is identified by the stamp MIL 8 DEV located across the dongle. Once the dongle is connected to the system, the user is ready to start development. MIL development is defined as the action of running or debugging a MIL-based application within the Microsoft Visual C++ 6.0 4 or Visual C++.NET 2003 4. The definition of ActiveMIL development is similar where a development license is required to use ActiveMIL controls in design-time. The development license is also required to run an ActiveMIL application within Microsoft Visual Basic.NET 2003 or Visual C++.NET 2003. Figure 3: Expired MIL temporary license informs the user that they are trying to use an unlicensed module. To continue using MIL, the user must either install a permanent development or run-time license key. Once again, license verification is performed while the MIL-based application is running. If the dongle is not present or if the temporary license has expired, a dialog box will appear prompting the user to obtain a license key (Figure 3). When the dongle is present, additional verifications will occur regularly while the application is running but with negligible performance overhead. There is no verification while coding or compiling a program. Since the development license is not based on a hardware fingerprint, hardware components in the system (e.g., frame grabber) can be changed. Consequently, the development license is portable and can be transferred to any system. The dongle is required even if a user is debugging a MIL-based application but not actual MIL code (e.g., debugging MFC code). If a user needs to debug a non-mil portion of an application but does not have a development license, all MIL code must be commented out before compiling and debugging the application 5. Otherwise, the user must make certain that the MIL application allocation is never performed during the debugging session or that the ActiveMIL controls are not present on the form. Run-time license MIL run-time is another way of describing MIL redistribution, which is the installation of a run-time version of MIL on a target system for deployment. A run-time license takes the form of either a software or hardware key (dongle). The software key is a sequence of alpha-numeric characters that is obtained from Matrox Imaging. A run-time license enables one to run a MIL-based application ONLY for the package(s) (modules and/or group of modules) purchased. An error message (Figure 3) will appear and MIL will cease to function if one tries to run a MIL-based application with an unlicensed package, or debug the MIL code within a debugger when using a run-time license. The same error message will result if an ActiveMIL application is run using an unlicensed package, or an ActiveMIL application is opened in design time within Microsoft Visual Studio.NET 2003. Understanding the MIL Licensing Mechanism / 2

Software license key To obtain a run-time software key, a user will need to start Compression/Decompression and serial bus driver with MIL Lite the MIL License Manager utility 6, which is installed along The compression/decompression and serial bus driver packages can with MIL (Figure 4) on the target system. In the MIL also be used with MIL-Lite. In order to do so, an appropriate License Manager, a user selects which package to license Software License Key must be obtained using the MIL Licensing for run-time, as well as which fingerprint (i.e., Matrox Manager. Unlike the other packages, the runtime license for the Imaging board or computer ID dongle) to base the license compression/decompression and serial bus driver packages allows on. Clicking on Generate will produce the Lock Code application development (i.e., debugging). necessary to obtain the Software License Key from Matrox Imaging. This software license key is then manually entered into the MIL License Manager on the same target system. Once entered, the user of the target system will no longer be prompted to obtain a license key unless the hardware fingerprint has changed, or the application tries to use an unlicensed package. This software license key should be recorded along with the lock code and put in a safe place for future reference. A package can be added to an existing run-time license by running the MIL License Manager and selecting the additional package to license (NOTE: do not change the fingerprint). Clicking on Generate will produce a new lock code that is necessary to obtain a revised Software License Key for the additional package(s) from Matrox Imaging. The run-time license key is stored in a file on the hard drive. The file is called 'lservrc' and is typically located in the \windows\system32 folder. This file stores the permanent run-time and temporary license keys. Note that this file must not be modified. Consequently, users should not attempt to enter the software license key directly into this file. Identifies which package(s) to license for run-time Identifies the type of license (i.e., temporary, development or run-time) Identifies which fingerprint is used to identify the system User types or pastes in software license key obtained from Matrox Imaging Lock code identifies system and packages(s) selected for run-time license Figure 4: MIL Licensing Manager utility used to select desired Package(s), Hardware Fingerprint, display Lock Code, and to enter the Software License Key obtained from Matrox Imaging. MIL License Manager lists the best choice for a Hardware Fingerprint first in the pull-down menu. Understanding the MIL Licensing Mechanism / 3

Hardware fingerprints As previously mentioned, a lock code is needed to generate a software license key. The lock code contains the unique ID of the system derived from a hardware fingerprint. The fingerprint can be based on the presence of either a Matrox 4Sight M, Corona-II, CronosPlus, Meteor-II/1394 7, Orion, Morphis, Helios, Solios, or a parallel or USB computer ID dongle 8 (Figure 5). Which fingerprint is used to create the lock code is selected by the user in the MIL License Manager utility based on the available hardware. By default, MIL License Manager provides the best fingerprint selection as the first item in the pull-down menu (Figure 4). Protect your own application Programmers can use MIL in conjunction with a third-party license management software to protect their own application. A unique system fingerprint can be obtained using the MIL MappInquire() function or ActiveMIL s Application.Inquire method. Inquire types include the hardware component upon which the system fingerprint is based, as well as the MIL module for which there is a valid license. See the MIL and ActiveMIL Command Reference manuals for more information. The run-time license will become invalid if a selected fingerprint is changed. Specifically, if the Matrox Imaging board or computer ID dongle 8 is removed or changed (e.g., upgrade from Matrox Solios to Matrox Helios). Recovery In the event that the operating system crashes and requires reinstallation, a logical reformat of the hard drive will not affect the validity of the software license key. Once the run-time version of MIL is reinstalled, the run-time license will simply need to be reactivated. This is done automatically in the case of a Matrox 4Sight M, Corona-II, CronosPlus, Meteor-II/1394, Orion, Morphis, Helios, Solios, or a hardware license key 8. In the case of a computer ID dongle 8, the user will need to re-enter the original software license key in the MIL License Manager. Portability For a Matrox Corona-II, CronosPlus, Matrox Meteor-II/1394, Orion family, Morphis family, Helios family and Solios family, the license is also stored on the board itself. Therefore the board can be moved to a different system without having to re-enter the license string on the new system. A computer ID dongle 8 can also be moved from one system to another. However, doing so will require re-entering the original software license key or copying the 'lservrc' file to the appropriate directory. Figure 5: Computer ID and MIL run-time hardware license keys (dongles) are labeled with MTX IMG. The run-time hardware license keys are available for various MIL run-time packages. To identify which package the dongle is valid for, open the MIL License Manager with the dongle connected. New (top) and old (bottom) USB dongles shown above. Understanding the MIL Licensing Mechanism / 4

Hardware license key 8 As mentioned earlier, a run-time license is also available as a hardware key (dongle) preprogrammed by Matrox Imaging to provide access to the package(s) required. One major benefit to using a hardware key is its easy portability from one PC to another. Once the dongle is connected to the system, a user is able to immediately run the MIL-based application. The hardware license key is available for the parallel or USB port and is identified by the stamp MTX IMG (Figure 5) located across the face of the dongle. To identify the license type of the key, with the key connected open the MIL Configuration utility (MilConfig) and select the Licensing menu tab (Figure 6). To identify for which package(s) the dongle is valid for, with the key connected open the MIL License Manager (Figure 4). Note that a hardware license key can be used with a software license key. The hardware license key will provide access to some package(s) while the software license key will provide access to another package (or other packages). Figure 6: To identify the dongle type,check the Licensing tab in MIL configuration utility (MilConfig). Endnotes: 1. Note that the temporary license for MIL and Matrox Inspector are independent. 2. An identification based on the unique characteristic of a PC component or peripheral. 3. The temporary license does accommodate the change into or out of daylight saving time. 4. Includes the running of SoftICE as well as actively debugging an application with SoftICE. 5. Note that it is not possible to disable the ActiveMIL controls (OCXs) within Microsoft Visual Studio.NET 2003. 6. A silent command-line version (i.e., no Matrox GUI) called Gencode can be found on the MIL 8 CD. 7. The IEEE 1394 camera must be connected and powered. 8. Requires the installation of an additional device driver in order for MIL to recognize the dongle. Corporate headquarters: Canada and U.S.A. Matrox Electronic Systems Ltd. 1055 St. Regis Blvd. Dorval, Quebec H9P 2T4 Canada Tel: +1 (514) 685-2630 Fax: +1 (514) 822-6273 For more information, please call: 1-800-804-6243 (toll free in North America) or (514) 822-6020 or e-mail: imaging.info@matrox.com or http://www.matrox.com/imaging All trademarks by their respective owners are hereby acknowledged. Matrox Electronic Systems Ltd. reserves the right to make changes in specifications at any time and without notice. The information furnished by Matrox Electronic Systems Ltd. is believed to be accurate and reliable. 8-29-2007. Understanding the MIL Licensing Mechanism / 5