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
LicenseGenWrapper.dll
 

LicenseGenWrapper.dll is a .NET library which wraps the native command line tool LicenseGen.exe. This easy to use library enables you quick and comfortable access to LicenseGen.exe without using command line parameters.



How To Example Code:


Reference Namespace of LicenseGenWrapper.dll
using LicenseGenWrapper;


Create a License File
    /*** Create a License File ***/
    public void CreateLicenseFile()
    {
        LicenseGenWrapper.LicenseGen licensegen = new LicenseGenWrapper.LicenseGen();

        licensegen.ProjectFile = @"C:\MyProject\myproj.nrproj";
        licensegen.AdditonalLicenseInformation.Add("Name", "John Doe");
        licensegen.AdditonalLicenseInformation.Add("Company", "CompanyXY Limited");
        licensegen.HardwareLock_Enabled = true;
        licensegen.HardwareID = "1234-1234-1234-1234-1234";

        licensegen.CreateLicenseFile(@"C:\MyProject\newlicense.license");
    }