License

How Does LicenseSpot Finds a License

The LicenseSpot Framework uses multiple processes to try to find a license installed on the users computer.

Search folders

The LicenseSpot will search each of the following folders and verify if a license file is found. Below is a list of the folders that it searches by default:

  1. The ProgramData folder located on c:\ProgramData\IPManager. This is the default location a license is saved when calling the Activate() method so this is the first that it searches by default.
  2. If the application is an ASP.NET app then it’ll search for a license file on the App_Data folder.
  3. If in none of the above a license is found then it’ll look for a file on the same folder that the application executable is running on.

If a license still isn’t found, then no license will be found and an exception will be generated. Any type of license validation will fail at this point.

Specifying a custom folder

If you’re saving the license file in a specific folder, then you can use the LicenseValidationInfo class to let the LicenseSpot Framework know where to look for the file. You can use the following code to specify a path:

C#

LicenseValidationInfo info = new LicenseValidationInfo();

info.LicenseFile = new LicenseFile("custom license path");

ExtendedLicense license = ExtendedLicenseManager.GetLicense(typeof(Form1), this,info, "PUBLIC_KEY"); //paste your public key from Key Pairs

VB.NET

Dim info as New LicenseValidationInfo()

info.LicenseFile = new LicenseFile("custom license path")

Dim license as ExtendedLicenselicense = ExtendedLicenseManager.GetLicense(Me.GetType(), Me, info, "your public key")

Dim isActive as Boolean = license.IsSubscriptionActive

features

Read next

faqs

Frequently asked

Do you support banking loan?

Morbi quam odio, ultrices a libero sit amet, lacinia commodo quam. Curabitur sodales ornare ex, eu sodales elit venenatis non.

How do I open an account?

Morbi quam odio, ultrices a libero sit amet, lacinia commodo quam. Curabitur sodales ornare ex, eu sodales elit venenatis non.

How do I get started?

Morbi quam odio, ultrices a libero sit amet, lacinia commodo quam. Curabitur sodales ornare ex, eu sodales elit venenatis non.

Do you support banking loan?

Morbi quam odio, ultrices a libero sit amet, lacinia commodo quam. Curabitur sodales ornare ex, eu sodales elit venenatis non.

How do I open an account?

Morbi quam odio, ultrices a libero sit amet, lacinia commodo quam. Curabitur sodales ornare ex, eu sodales elit venenatis non.

How do I get started?

Morbi quam odio, ultrices a libero sit amet, lacinia commodo quam. Curabitur sodales ornare ex, eu sodales elit venenatis non.

+
Satisfied customers! 😮
  • licensing
  • analytics

Easy .NET Protection

Purchase template