跳转到主要内容
此方法可访问给定 Customer Project ID 的可用许可证集合。 返回的许可证子集取决于安装类型:
  1. 对于 Developer 安装,此方法仅返回 Developer 许可证,以及允许调试的 Runtime 许可证。默认情况下,Runtime 许可证不允许调试,但可按需启用。
  2. 对于 Runtime 安装,此方法返回所有与 CustomerProjectID 匹配且已激活的许可证。
对于这两种安装类型,都可以在安装文件夹下的 Bin 文件夹或 Bin64 文件夹 (适用于 Win64) 中找到该文件。
  1. Linux 和 macOS:libProtection.Developer.so
  2. Windows:Protection.Developer.dll

语法

C++

HRESULT GetAvailableLicenses(
  BSTR        CustomerProjectID,
  BSTR        Reserved,
  ILicenses** Result
);

C#

ILicenses GetAvailableLicenses(
  string CustomerProjectID,
  string Reserved
);

Visual Basic .NET

Function GetAvailableLicenses( _
  CustomerProjectID As String, _
  Reserved As String _
) As ILicenses

参数

CustomerProjectID [in] 指定 Customer Project ID 号。 Reserved [in] 保留供将来使用。应传入空字符串 "" 或空指针。 Result [out, retval] 指向 ILicenses* 指针变量的指针,用于接收输出 许可证 对象的接口指针。

返回值

此方法没有特定的返回值。它会返回 ABBYY FineReader Engine 函数的标准返回值

另请参阅

引擎 许可证