logo_wupi_64x64px WupiAllocateLicense

WupiAllocateLicense allocates a license of the specified License List.

This command can be replaced in most scenarios by WupiCheckLicense, because of the automatic allocation of the license. Therefore you don't need to bother about explicit allocation of a license, you can directly check the license.

  • C, C++
  • C#

Syntax

int WupiAllocateLicense(int iLicenseList);

Parameters

•iLicenseList refers to the license list index.

Return

This function returns FALSE (0), if an error occurs, otherwise TRUE (1).

Syntax

public static bool AllocateLicense(int LicenseList)

Parameters

•LicenseList refers to the license list index.

Return

This function returns false if an error occurs, otherwise true.