Contents 

Introduction
Welcome
Features
System Requirements
User Interface
Overview
The Main Menu
The Main Panel
The Tasks Panel
Command Line Parameters
GUI Elements
Addtional Files
Additional License Information
License File Settings
License Manager
Main Assembly
Master Key
Licensing System
Understanding The License System
How Locks Work
Hardware Identity Specific Licensing
SDK
General Information
License.dll
LicenseGen.exe
LicenseGenWrapper.dll
StackTraceDeobfuscator.dll
Definitions
Application Protection Mode
Console Application
Create Sub Directories
EvaluationLock
HardwareLock
Library Protection Mode
License File
Mapping File
Merge Assemblies
NecroBit
Obfuscation
Tools
Hardware ID Tool Generator
License Examiner Tool
License Invalidation Tool
License Reactivation Tool
Stack Trace Deobfuscator
ShareIt Module Generator
Testing
Library - Test Environment
Examples
Protect An Assembly
Lock An Assembly
Unlock An Locked Assembly
Ordering
Register Online
License Agreement
Why register?
Support and Contact
Technical Support
Contact
Acknowledgements

.NET Reactor Online Help

Prev Page Next Page
LicenseGen.exe
 

With the standalone native command line tool LicenseGen.exe you are able to create license files without using the .NET Reactor GUI (License Manager). If you want to build your own activation system you should use this tool.



Command Line Parameters
General Arguments Description
-project <file> Path to a .NET Reactor project file.
-masterkey <text> Master Key.
-masterkeyfile <file> Path to a Master Key file.
-[q]uiet Specifies quiet mode; suppresses the display of messages
-targetfile <file>

Creates a license file at a specific location.

Licensing Arguments   
-evaluationenable [1/0] Enable EvaluationLock if you want your license file to be only valid for a limited time. With '-time' you can choose the time
[1] = Enable
[0] = Disable {default}
-evaluationtype [trial/runtime] Choose between Trial and Runtime
[trial] = Trial {default}
[runtime] = Runtime
-time <number> Evaluation Time(minutes/days). Minutes or days, depends on the type of evaluation.
-expirationdate<y/m/d> Choose a day. Your license will be valid up to this day. After this day your customer will need a new license.
[year/month/day] for example '2006/7/15'
-hardwareenable [1/0] Enable Hardware_Lock if you want your license file to be only valid on specific hardware.
[1] = Enable
[0] = Disable {default}
-hardwareid <text> HardwareID
-hardwareidfile <file> Path to a HardwareID file.
-licenseinfo <key|value / key|value> Add additonal license information to your license file
[key|value / key|value] for example "Company|XYLimited/Regname|XYRegname/City|Paris"
-number_of_uses <number> Enable this if you want your protected assembly to expire after a fixed number of uses.
[1] = Enable
[0] = Disable {default}
-number_of_uses_enable [1/0] A fixed number of uses.
-v3mode[1/0] .NET Reactor v3.x uses a new license encryption technique which is not backward compatible with previous versions of .NET Reactor. Set this option to True to use .NET Reactor v3 license encryption technique, or False to use the V2.x compatible encryption method.
[1] = Enable {default}
[0] = Disable

Example Combinations:

LicenseGen.exe -masterkeyfile "c:\key.mkey" -hardwareenable 1 -hardwareidfile "c:\HardwareID.txt" -targetfile "c:\license.license"

LicenseGen.exe -project "c:\projx.nrproj" -licenseinfo "Company|XYLimited" -targetfile "c:\license.license"

LicenseGen.exe -masterkey 002149181064201017142145188174235116178186198216076246122136168043124074168146180253065165014229 -targetfile "c:\license.license"