CALicense::SetApplicationLicenseCode

This page is a translated version of the page CALicense::SetApplicationLicenseCode and the translation is 100% complete.

ADE User Guide > ADE Server Class Reference > CALicense

Other languages:
English • ‎中文

void CALicense::SetApplicationLicenseCode(string licenseCode)

指定一個ADE決策引擎註冊碼,當調用CALicense::NewCAEngine時用來實例化CAEngine。在使用時,有效的ADE註冊碼沒有必要存儲到系統註冊表中,ADE根據指定註冊碼的授權特徵運行,這可能和安裝ADE時使用的註冊碼不同。這僅僅接受「ADE應用程式註冊碼」 。你用來安裝ADE的註冊碼不是一個應用程式註冊碼。應用程式註冊碼通過和Lumina特殊約定獲得,應用程式通過Lumina授權重新分配。

參 數

«licenseCode»——執行重新分配的註冊碼。

返回值

無。

如果代碼質量太差,CALicense::NewCAEngine將失敗,CALicense::ErrorCodeCALicense::ErrorText將報告這不良代碼。

另請參考

Comments


You are not allowed to post comments.