LicenseSetLicense Method (String, LicenseType)

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET

Note: This API is now obsolete.

Sets the license.

Namespace:  Apitron.Licensing
Assembly:  Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax

[ObsoleteAttribute("This method is obsolete. Please use License.SetLicense(string license)")]
public static void SetLicense(
	string license,
	LicenseType licenseType = LicenseType.Legacy
)

Parameters

license
Type: SystemString
The license string.
licenseType (Optional)
Type: Apitron.LicensingLicenseType
Type of the license. Default value is [!:LicenseType.Auto].
Exceptions

ExceptionCondition
ArgumentExceptionIf license string is null or empty.
See Also

Reference