ActiproLicenseManager Class
Represents a license manager for Actipro Software components.
public static class ActiproLicenseManager
- Inheritance:
- object object
Methods
AddHintAssemblyName(string)
Adds an assembly name to the hint list to check in the app domain for licensing.
[Obsolete("Hint assemblies are only used by the old 'licenses.licx' way of licensing that is not supported outside of classic .NET Framework. See the 'Licensing' documentation topic for details on registering your license in .NET.", true)]
public static void AddHintAssemblyName(string assemblyName)
| Parameter | Type | Description |
|---|---|---|
| assemblyName | string | The assembly name. |
Remarks
Hint assemblies are checked first in the event the entry assembly doesn't contain license information.
RegisterLicense(string, string, AssemblyInfoBase?)
Registers a default licensee and license key.
public static void RegisterLicense(string licensee, string licenseKey, AssemblyInfoBase? assemblyInfo = null)
| Parameter | Type | Description |
|---|---|---|
| licensee | string | The name of the licensee, which is generally a company name. |
| licenseKey | string | The license key. |
| assemblyInfo | AssemblyInfoBase | The AssemblyInfoBase for the target assembly. |