cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
PetteriHeiskari
Booster

ACAPI_Licensing_GetProtectionMode does not return APIPROT_NFR_MASK for cloud license

Hi, so I am having this code:

 

// # AC26
#if PH_ACADUTIL_APIVER>=2700
GSErrCode ph::AcadGetProtData(API_ProtectionInfo& protInfo, GS::UniString* pConfNumber)
{
	protInfo.keySerialNumber = ACAPI_Licensing_GetSerialNumber();
	protInfo.protMode = ACAPI_Licensing_GetProtectionMode();
	protInfo.numberOfLicenses = ACAPI_Licensing_GetNumberOfLicenses();
	protInfo.keyBoxMask = ACAPI_Licensing_GetBoxMask();
	protInfo.expirationTime = ACAPI_Licensing_GetExpirationTime();
	protInfo.partnerID = ACAPI_Licensing_GetPartnerId();

	if (pConfNumber) {
		*pConfNumber = ACAPI_Licensing_GetConfigurationNumber();

 

And with my cloud nfr-license APIPROT_NFR_MASK is not set, just APIPROT_TW_MASK is:

 

PetteriHeiskari_0-1787048016699.png

 

So the question is: How to detect NFR with AC26-30? Tested with AC29.

 

Thank you in advance and keep on coding!

 

Petteri

0 Replies 0

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!