Escolar Documentos
Profissional Documentos
Cultura Documentos
Protection
Licensing
Delivery
Welcome to
Welcome to CodeMeter
CodeMeter ... the protection and licensing solution of Wibu-Systems for software and digital
content. This Quick Start Guide explains the CodeMeter concept and how
to apply CodeMeter within a few minutes. More detailed information about
CodeMeter you find in the CodeMeter Developer Guide.
The next pages take you step-by-step through the process of installing the
system, protecting your software, and preparing for distributing your protected
application.
CodeMeter
Installation
Installation Insert the DVD-ROM into your DVD-ROM drive. The CodeMeter DVD-ROM
menu automatically loads. If not, alternatively run start.exe from the root
directory of the DVD-ROM. Choose your language and click the button
CodeMeter SDK.
This installs the CodeMeter Development Kit including the tools, the sample
applications, and the Runtime Kit. Follow the instructions of the installation
wizard and in the further course use the default settings.
Note: All CmDongles included in the MediaKit are Firm Security Boxes (FSB)
for the evaluation Firm Code.
2
Quick Start Guide
CodeMeter SDK
Installation
After the successful installation connect one of the CmDongles to the USB
port of the PC. Windows automatically detects and installs the new hardware.
CmDongles without flash memory can alternatively be detected either as Mass
Storage Device (MSD) including drive display or as Human Interface Device
(HID). A reconfiguration in both directions is possible any time. For details
see the help documentation.
Note: For additional operating systems, such as, Linux, Mac OS, and
Solaris, corresponding installation packages exist in the specified
subdirectories of the DVD.
VxWorks
3
CodeMeter software protection bases on encryption and decryption processes
securely performed in the CmContainer depending on license entries you
program.
The following quick tutorial shows you how easy it is to protect a Windows
program using the CodeMeter variant CmDongle. The CmDongles included
in the Development Kit hold an evaluation license allowing you to program
license entries.
Later you will also learn how to protect and license software using the
software-based CodeMeter variant CmActLicense.
Protecting an
Protecting a Windows application using
application CmDongle
Starting point of the quick tutorial is the CodeMeter Start Center.
CodeMeter Start
Center
4
Quick Start Guide
Choose in the opening dialog the project type you want to protect. For
projects of the programming languages C# or VB.NET select .NET assembly
otherwise the project type Windows Application or DLL.
AxProtector
project type
Click the button OK to confirm the selection and then use the navigation
item File to protect to select the application to be protected.
AxProtector File
to protect
5
In the tutorial you can use as applications simple text editors available for
several programming languages (First Sample - SampleNotePad). These
have been already typically installed with the SDK and locate in the public
documents directory (%PUBLIC%\Documents\WIBU-SYSTEMS\Software
Protection) also accessible by the button Samples of CodeMeter Start
Center. Copy the desired text editor to a directory you have write-access to,
e.g your personal folder.
But feel free to use also your own application for this first test.
The tutorial uses the project type Windows Application or DLL and
SampleNotePad programmed in C++.
Type in the file name directly or use the button to select the application.
The best way to save the destination file is to choose an alternative directory
different from the source directory. AxProtector automatically recommends
the subdirectory \ protected\.
Using the next tree item you select the licensing system to be used.
AxProtector
Selecting Licensing
systems CmDongle
and CmActLicense
6
Quick Start Guide
Activate CmDongle and apply the evaluation license with Firm Code 10
and Product Code 13. The matching entry is already included in the CmDongle
shipped with your SDK.
Note: Here you may also select CmActLicense for the later use of
CmActLicense. If so, apply the CmActLicense evaluation license with Firm Code
5010 and Product Code 13. If you select both licensing systems an application
can start protected both by CmDongle and CmActLicense.
Now, step-by-step, follow through all subsequent tree items, and use the
suggested defaults. Detailed information on the individual options you find
in the CodeMeter Developer Guide and the AxProtector help file.
Activating the option Runtime check in the tree item Runtime settings
the application will check every 30 seconds for a connected valid CmDongle.
In the tree item Security options you specify the protection methods, and
whether, for example, the hardware is to be locked if a hacker attack is
detected. The available protection methods depend on the project type you
selected before.
AxProtector
Current security
status
7
In the tree item Error messages you define error handling. When activating
User Message Dll, automatically all required files are copied to the
destination directory. Using an *.ini file you are able to customize error
message texts and the logo meeting your requests.
AxProtector
Summary of all
settings
In the tree item Advanced options activating the option Activate IxProtector
/ WUPI allows to configure using the Software Protection API. In the tutorial
with an application not using this API, a configuration is not required.
8
Quick Start Guide
Please note that one of the shipped CmDongles must be connected to your
PC while executing the encryption process, because it holds the license to
use the evaluation license.
Now your application is protected. You can only start it with a connected
CmDongle holding the matching entry.
Note: There are many more features available not mentioned in this Quick
Start Guide. For detailed information about those features, please refer to the
included manual.
9
Protecting an application using CmActLicense
When using CmActLicense the software-based variant of CodeMeter, license
entries and keys do not locate in the shipped CmDongle but rather in an
unique, PC-bound, encrypted, and signed license file.
Activate CmActLicense and apply the evaluation license with Firm Code
5010 and Product Code 13. Now protect the program by clicking the button
Finish again.
AxProtector
Select Licensing
system
CmActLicense
Creating and activating the PC-bound CmActLicense for the tutorial is done
using the CodeMeter License Central.
10
Quick Start Guide
CodeMeter
WebDepot -
Activate Licenses
However, you have also an option to activate licenses from within your
software using an activation wizard. Contact Wibu-Systems support for
more details.
Now the license is activated on this PC and the software can be started -
even if a CmDongle is not connected with the PC. If you copy and start the
CmActLicense protected application on another PC, you will see that the
license can not be transferred. The software will run on this PC only if a
separate license for this PC has been activated.
11
The CodeMeter
The CodeMeter concept
concept License entries and encryption
When you program a license entry into a CmContainer, it consists of a Firm
Code and a Product Code. The Firm Code you receive by Wibu-Systems, the
Product Code you are free to choose.
A CodeMeter Firm Security Box (FSB) guarantees that only you can program
a CmContainer with your Firm Code. The CmDongles included in the SDK
are, at the same time, a FSB for the evaluation Firm Codes 10 (CmDongle)
and 5010 (CmActLicense).
Every license entry represents a set of secret keys that can be used to protect
your software. This means, your software can only be decrypted and executed,
when the CmContainer holds the matching Firm Code and Product Code.
Note: There are many more features available not mentioned in this Quick
Start Guide. For detailed information about those features, please refer to the
included manual.
12
Quick Start Guide
For a clearer structure, the license entries are managed in a separate directory,
the Firm Item (see Firm Item and Product Item in the manual).
CodeMeter
Control Center
Moreover, it serves for displaying the event logs and provides a wizard for
the remote update programming of licenses. License updates base on the
exchange of files used to program, modify or delete the complete content
and options of a license.
13
CodeMeter Control Center starts automatically at Windows start, and is
available in the system tray. The status of the CodeMeter License Server
and the CmContainer is visible by color and shape of the system tray icon.
CodeMeter WebAdmin
CodeMeter
WebAdmin
License entries
14
Quick Start Guide
The CodeMeter WebAdmin is used for both the information display about
the attached CmContainer, e.g. existing license entries, and the configuration
of the CodeMeter License Server. Next to status information, all CodeMeter
License Server parameters are configurable. To get an overview of the license
entries (Firm Items), select the Content menu tab, and then Licenses.
For more information on the licenses contained, click the desired Firm Codes
and Product Codes.
CodeMeter
WebAdmin
License
information
15
Programming of license entries
Now, we will have a brief look at the options for programming license entries:
CmBoxPgm
CmBoxPgm is a command line tool that can be used for programming, e.g.
using a batch file.
License Editor
The graphical user interface clearly displays Firm and Product Items of a
CmDongle and provides easy editing options.
License Central
The database solution allows creating, managing and delivering licenses by
integration into sales and business processes. A Desktop Edition provides
an easy start for in-house license management. An Internet version includes
the license activation via Internet providing the following interfaces: Internet
Gateway to the customer, connectors to ERP/CRM systems, and connectors
to online shops.
Programming API
An extension of the CodeMeter programming interface, which provides to
program the license management from within own applications. This API is
available for various programming languages.
16
Quick Start Guide
CodeMeter
License Editor
17
The alternative implementing into own projects
The automatic protection with AxProtector as described above presents
only one option to integrate CodeMeter as license management system.
Alternatively or best of all, you should use the CodeMeter application
programming interfaces for programmers.
C, C++
all Microsoft .NET languages
Microsoft Visual Basic
Borland Delphi
Java
18
Quick Start Guide
19
CodeMeter API
Guide
The CodeMeter API Guide allows you to test single functions of the Software
Protection API and the Core API.
An interactive input area allows you to enter parameters and structures for
previously selected API functions. In some cases, additional windows and
dialogs open for more specific input. The input is transferred into a separate
source code area.
The preset function calls and blocks can be displayed and executed using the
syntax of established programming languages, allowing you to take the first
steps in the programming language you are most familiar with.
20
Quick Start Guide
Wupi Samples
The First, Second and Third Samples show you how to use the Software
Protection API based on an editor application with separate functions and
the integration of a protected DLL.
CmCalculator
CmCalculator shows the protection of separate functions of a simple
calculator using the Core API.
CmDemo
CmDemo is a complex sample application separated in different functional
groups demonstrating the implementation of most of the Core API functions.
A prepared section allows the implementation and testing of own function
calls, without having to set up a new project from scratch.
You find many answers in the manual included. In the case of more questions,
we or your distributor are gladly at your hand. A list of contact persons is
available at www.wibu.com
Note: You look for a tailored license strategy meeting your needs using
CodeMeter? Give us a challenge!
21
State-of-the-Art
State-of-the-Art Digital Rights Management
Digital Rights With CodeMeter, you can protect an unlimited number of single user licenses,
Management network licenses, and time-limited renting and leasing versions. Also pay-per-
use models can be implemented.
22
Quick Start Guide
WIBU-SYSTEMS AG
Rueppurrer Strasse. 52-54,
76137 Karlsruhe, Germany
Fon +49 721 93172-0
Fax :+49 721 93172-22
sales@wibu.com | www.wibu.com
WIBU-SYSTEMS SARL
France: +33 1 73 03 04 91
info@wibu.fr
23
Quick Start Guide
WIBU-SYSTEMS AG (WIBU ) was founded in 1989 by Oliver Winzenried and Marcellus Buchheit.
Since its debut Wibu-Systems has been revolutionizing the international scene with security tech-
nological innovations. The product portfolio offers digital asset, intellectual property and integrity
protection against piracy, reverse engineering and code tampering. The broad and award-winning
range of Wibu-Systems solutions is unique and covers application fields from computers to mobile,
from embedded automation to cloud computing, from SaaS to virtualized models.
Copyright 2014 by Wi-
bu-Systems. WIBU, CodeMeter
Through its motto Perfection in Protection, Wibu-Systems has enabled new business models;
SmartShelter and SmartBind software-powered businesses, whether in the consumer, corporate or embedded system realm,
are Wibu-Systems trademarks. can monetize their investments through license orchestration schemes.
All other companies and product
names are registered trademarks Headquartered in Karlsruhe, Germany, Wibu-Systems holds subsidiaries in Seattle, USA, as well
of their respective owners. as in Shanghai and Beijing, China; the company has also sales offices in Belgium, France , the
Netherlands, Portugal, Spain, the United Kingdom and a capillary world distribution network.
WEEE Reg-No.
DE90465365