Developer forum
cancel
Showing results for 
Search instead for 
Did you mean: 

EDU license serial number via AC API / GDL REQUEST

bschwb
Booster

Hi,

 

For an EDU license the GDL REQUEST options "program_info" and "Configuration_Number" return keySerialNumber=0 and empty string for "stConfigurationNumber". I assume the AC API does the same thing ( https://archicadapi.graphisoft.com/documentation/apienv_protectiondataid) Unfortunately I can't confirm that right now.

 

Is there another way to get the EDU serial number in the API and/or GDL?

Bernd Schwarzenbacher
Archicad Add-On Developer
AC 24-25, VS 2019

Get free Add-Ons at www.bschwb.com/add-ons
1 ACCEPTED SOLUTION

Solution
akomporday
Graphisoft
Graphisoft

Hello Bernd,

 

The serial number of EDU and Trial licenses is not exposed via the API. There is a good reason for that: while in the case of commercial licenses the serial number is just a pure technicality, for EDU and Trial licenses, the serial number is basically the license itself, bearing the entitlement for the user to use Archicad. This is why it's not exposed via the API, lest Add-Ons would be an e-mail address away from being able to snatch EDU and Trial licenses of our users.

If you need to restrict the usage of your Add-Ons, I'm afraid your only option is to introduce your own licensing/entitlement scheme (like many commercial Add-On vendors do).

 

Regards,

Andras

View solution in original post

6 REPLIES 6

The 0 retported by GDL request is also true for Trial and Demo. So if the product is about to be allowed for EDU then You are on the safe side, no comercial license will get access.

 

Piotr

PS. I hate the current Requests for serials in GDL - the old REQ was very good because it worked in Parameter script and I couel easilly lock all if not licensed... now it is a pain in the ...a... because if using REQ - the reported serial is the temporary one if the soft license key is used ;(

Thanks Piotr for your answer. Unfortunately I have the requirement to allow access only for EDU licenses with specific serial numbers. And my question is about how to obtain those serial numbers of a running Archicad EDU instance.

Regarding your PS:
From my experiments it seems that the configuration number is fixed for software licenses and hardware licenses. So maybe you can try the request "Configuration_Number" instead of the serial number for those cases.

Bernd Schwarzenbacher
Archicad Add-On Developer
AC 24-25, VS 2019

Get free Add-Ons at www.bschwb.com/add-ons

PS.PS. But we cannot access the "Configuration_Number" in the parameter script  ;( and that was my point...

Ah I see! I didn't understand that. Thanks for clarifying 🙂

Bernd Schwarzenbacher
Archicad Add-On Developer
AC 24-25, VS 2019

Get free Add-Ons at www.bschwb.com/add-ons

Solution
akomporday
Graphisoft
Graphisoft

Hello Bernd,

 

The serial number of EDU and Trial licenses is not exposed via the API. There is a good reason for that: while in the case of commercial licenses the serial number is just a pure technicality, for EDU and Trial licenses, the serial number is basically the license itself, bearing the entitlement for the user to use Archicad. This is why it's not exposed via the API, lest Add-Ons would be an e-mail address away from being able to snatch EDU and Trial licenses of our users.

If you need to restrict the usage of your Add-Ons, I'm afraid your only option is to introduce your own licensing/entitlement scheme (like many commercial Add-On vendors do).

 

Regards,

Andras

View solution in original post

Hello András,

Thank you very much for the detailed clarifications!

Bernd Schwarzenbacher
Archicad Add-On Developer
AC 24-25, VS 2019

Get free Add-Ons at www.bschwb.com/add-ons

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!