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

1 Solution

Accepted Solutions
Akos Somorjai
Graphisoft
Graphisoft

Hi Petteri,

 

This is a missing feature in the API, we'll fix it in one of the upcoming releases.

 

Best, Akos

Go to post

3 Replies 3
Tamas Polyak
Graphisoft
Graphisoft

Hi,

I'll ask a developer about it, and get back to you.

 

Regards,

Tamás

Akos Somorjai
Graphisoft
Graphisoft

Hi Petteri,

 

This is a missing feature in the API, we'll fix it in one of the upcoming releases.

 

Best, Akos

Ville
Graphisoft Partner
Graphisoft Partner

Hello!

Fixes made in later 29 build, did You check?

BR,

Ville

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!