LicenseSetLicense Method (String, LicenseType)

Apitron PDF Rasterizer help
Apitron.PDF.Rasterizer library for .NET

Note: This API is now obsolete.

Sets the license.

Namespace:  Apitron.Licensing
Assembly:  Apitron.PDF.Rasterizer (in Apitron.PDF.Rasterizer.dll) Version: 3.0.154.0 (3.0.154.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