License Key Generation, Validation and ActivationSecure License Manager comes with components to generate, validate and activate (online & offline) license keys. |
Desktop & Web Based License Manager with License Web ServiceSecure License Manager comes with both a desktop and web based interface that allows you to manage your license keys. It also comes with a license web service that you can use to implement online activated license keys and can be hosted even on medium trust environments that is common for most shared hosting environments. |
Unlock Keys & Activation KeysCreate unlock license keys that can be unlocked without the need to contact a server and for additional security, you can also create activation license keys which can only be verified and activated by contacting an activation license service. |
System/Machine LockGenerate license keys that are tied to a specific system/machine to enforce that licenses can work on a particular system/machine the license was generated for. |
Flexible License Key FormatsGenerate compact license keys by choosing Public/Private key sizes that range from 384 to 2048 bits and using various license key formats. |
private bool CheckLicense() { string validationKey = "BgIAAACkAABSU....."; SecureLicense license = new SecureLicense(validationKey); // Specify license store location (can be a file or registry) license.LicenseFilePath = Path.Combine(Environment.GetFolderPath( Environment.SpecialFolder.CommonApplicationData), "my test license.lic"); // Attempt to load an existing license if there is one already if (!license.Load()) { // When your application runs the very first time, // license.Load() will fail because there is no existing // license. You can specify an evaluation/trial // license key to register an evaluation/trial license. // Alternatively, you can also specify and register your // evaluation/trial license key using a setup program. license.Activate("B7KEP-NLPAP-6RJ9T-..."); // Save the license for future use if it is valid. if(license.IsValid) license.Save(); } // If license is not valid, request for a valid license // or terminate the application. if (!license.IsValid) { // Request for a valid license. // If no valid license is provided, // then terminate the application. // or show some other failure message. } return license.IsValid; }
Private Function CheckLicense() As Boolean Dim validationKey As String = "BgIAAACkAABSU....." Dim license As SecureLicense = New SecureLicense(validationKey) ' Specify license store location (can be a file or registry) license.LicenseFilePath = Path.Combine( Environment.GetFolderPath( Environment.SpecialFolder.CommonApplicationData), "my test license.lic") ' Attempt to load an existing license if there is one already If Not license.Load Then ' When your application runs the very first time, ' license.Load() will fail because there is no existing ' license. You can specify an evaluation/trial ' license key to register an evaluation/trial license. ' Alternatively, you can also specify and register your ' evaluation/trial license key using a setup program. license.Activate("B7KEP-NLPAP-6RJ9T-...") ' Save the license for future use if it is valid. If license.IsValid Then license.Save() End If End If ' If license is not valid, request for a valid license ' or terminate the application. If Not license.IsValid Then ' Request for a valid license. ' If no valid license is provided, ' then terminate the application ' or show some other failure message. End If Return license.IsValid End Function