Apitron.PDF.Kit library for .NET
Assembly: Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
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
Exception | Condition |
---|---|
ArgumentException | If license string is null or empty. |
See Also