跳轉到主要內容
此方法可讓您存取指定 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] 保留供日後使用。應傳入空字串 "" 或 Null 指標。 Result [out, retval] 指向 ILicenses* 指標變數的指標;該變數會接收輸出 Licenses 物件的介面指標。

傳回值

此方法沒有特定的傳回值,會傳回 ABBYY FineReader Engine 函式的標準傳回值

另請參閱

Engine License