Difference between revisions of "CALicense::SetApplicationLicenseCode/zh"

(Created page with "= 另请参考 =")
(Created page with "指定一个ADE决策引擎注册码,当调用CALicense::NewCAEngine时用来实例化CAEngine。在使用时,有效...")
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
= void CALicense::SetApplicationLicenseCode(string licenseCode) =
 
= void CALicense::SetApplicationLicenseCode(string licenseCode) =
  
Specifies an [[ADE]] license code that is to be used for the instantiation of a [[CAEngine]] when [[CALicense::NewCAEngine]] is called. When this is used, a valid ADE license code does not need to be stored in the system registry, and ADE runs according to the licensed features of the specified license code, which might be different from the license code used when ADE was installed (if any). This only accepts “ADE application license codes.” The license code you use when you install ADE is not an application license code. Application license codes are obtained through special arrangement with Lumina for applications that have been licensed through Lumina for redistribution.
+
指定一个[[ADE|ADE决策引擎]]注册码,当调用[[CALicense::NewCAEngine/zh|CALicense::NewCAEngine]]时用来实例化[[CAEngine/zh|CAEngine]]。在使用时,有效的ADE注册码没有必要存储到系统注册表中,ADE根据指定注册码的授权特征运行,这可能和安装ADE时使用的注册码不同。这仅仅接受“ADE应用程序注册码” 。你用来安装ADE的注册码不是一个应用程序注册码。应用程序注册码通过和Lumina特殊约定获得,应用程序通过Lumina授权重新分配。
  
 
= 参 数 =
 
= 参 数 =
  
«licenseCode» - the license code that enables redistribution.
+
«licenseCode»——执行重新分配的注册码。
  
 
= 返回值 =
 
= 返回值 =
Line 14: Line 14:
 
无。
 
无。
  
When the code is bad, [[CALicense::NewCAEngine]] will fail and [[CALicense::ErrorCode]] and [[CALicense::ErrorText]] will report the bad code.
+
如果代码质量太差,[[CALicense::NewCAEngine/zh|CALicense::NewCAEngine]]将失败,[[CALicense::ErrorCode/zh|CALicense::ErrorCode]][[CALicense::ErrorText/zh|CALicense::ErrorText]]将报告这不良代码。
  
 
= 另请参考 =
 
= 另请参考 =
  
* [[CALicense::NewCAEngine]]
+
* [[CALicense::NewCAEngine/zh|CALicense::NewCAEngine]]

Latest revision as of 11:20, 23 October 2015

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.