DEV Community

Soraco Technologies
Soraco Technologies

Posted on

Online License Activation in .NET with Quick License Manager

Most .NET developers reach for license validation as an afterthought — but getting it right from the start saves a lot of pain. Quick License Manager (QLM) by Soraco Technologies handles the heavy lifting with a straightforward API that works across Windows, macOS, Linux, and mobile.

Getting Started

Before writing any code, download QLM and add the SDK reference to your .NET project. QLM supports .NET Framework 2.x/4.x and .NET 6 through 10, so it works with both legacy and modern applications.

Implementation

using System;
using QLM.LicenseLib;

public bool ActivateLicenseOnline(string licenseKey)
{
    QlmLicense license = new QlmLicense();
    license.DefineProduct(1, "MyApp", 1, 0, "DemoKey");
    license.CommunicationEncryptionKey = "{YourEncryptionKey}";
    license.ServerUrl = "https://qlm3.net/qlmdemo/qlmservice/qlmservice.asmx";

    string response;
    bool ok = license.ActivateLicense(licenseKey, Environment.MachineName, out response);

    if (!ok)
        MessageBox.Show("Activation failed: " + response, "Error");

    return ok;
}
Enter fullscreen mode Exit fullscreen mode

The QlmLicense class is the main entry point. You call DefineProduct once with your product ID, major version, minor version, and encryption key. From there, ReadKeys pulls stored credentials from the registry, and the appropriate API method — ValidateLicenseAtStartup, ActivateLicense, or DeactivateLicense — communicates with your license server and returns a bool plus a human-readable response string.

Error Handling

Always check the response string when a call returns false. QLM returns detailed error codes and messages that tell you exactly what went wrong — whether it's a network issue, an expired key, or a seat count limit. Surface these messages directly to users so they know what to do next.

Supported Platforms

QLM works across the environments your users actually run:

  • Windows: .NET Framework 2.x / 4.x, .NET 6/7/8/9/10
  • Cross-platform: .NET 6/7/8/9/10, macOS, Linux
  • Mobile: Android, iOS (.NET MAUI, Xamarin)

Pricing

QLM Express is $200/year, Professional is $699/year, and Enterprise is $999/year — all per developer/administrator. You can compare plans or start with the 30-day trial.

Resources

Top comments (0)