# LicenseGen.dll

LicenseGen.dll provides the LicenseGenerator class, which allows you to generate license files programmatically without using the .NET Reactor GUI (License Manager).

While it can be used in various environments, it is commonly used in automated or backend systems, such as license servers.
It is not recommended to use this library on end-user systems.

📦 LicenseGen is included in the official NuGet package:
Eziriz.Reactor.LicenseGenerator


# Create a License File:

    // Create a License File
    public void CreateLicenseFile(string project_filename)
    {
        LicenseGenerator licensegen = new LicenseGenerator(project_filename);
 
        licensegen.AddAdditonalLicenseInformation("Name", "John Doe");
        licensegen.AddAdditonalLicenseInformation("Company", "Acme");
        licensegen.Hardware_Enabled = true;
        licensegen.HardwareID = "1234-1234-1234-1234-1234";
 
        licensegen.CreateLicenseFile(@"C:\MyProject\newlicense.license");
    }