Secure Licensing, Copy Protection and Unlock / Activation Keys for .NET

  • 100% Managed.
  • Secure and Strong Asymmetric (Public/Private) Encryption.
  • Supports Activation Keys and Unlock Serial No.
  • Time Limit (exact date and number of days).
  • Feature Lock.
  • Machine Lock.
  • Embed Additional (Custom) License Data.
  • Simple API to Integrate with Your Software.
  • A Web Interface to Manage Licenses.
  • Flexible License Formatting.
  • Bulk Key Generation and many more ...

Learn More » Download Buy Now »

Features

License Key Generation, Validation and Activation

Secure License Manager comes with components to generate, validate and activate (online & offline) license keys.

Desktop & Web Based License Manager with License Web Service

Secure 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 Keys

Create 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 Lock

Generate 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 Formats

Generate compact license keys by choosing Public/Private key sizes that range from 384 to 2048 bits and using various license key formats.

    Hex ("FC6B74-BDC33E-D9ECF2-..."
    Base 32 ("BRLBV-MWACF-EYWSL-...")
    Base 62 ("8jBGo-iSxXQ-163kZ-...")
    Base 64 ("YiyLN-0AQ0k-a9eLA-...==")

View More Features »

Code Samples

                        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
                    
                        

See More Code Samples »