<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: getting the Key number in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/getting-the-Key-number/m-p/15268#M7951</link>
    <description>&lt;BLOCKQUOTE&gt;TomWaltz wrote:&lt;BR /&gt;It seems like GS is not giving much information on that one. Perhaps Akos could shed a little more light on it for us? &amp;lt;hint, hint &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/E&gt; &amp;gt;&lt;/BLOCKQUOTE&gt;

Why should we? &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;&lt;BR /&gt;
&lt;BR /&gt;
Let's see API_ProtectionInfo first. (i.e. ACAPI_Environment (APIEnv_ProtectionDataID, ...))&lt;BR /&gt;
There are several versions out on the market in terms of protection. The most common are DEMO (the name speaks for itself), NFR (Not-For-Resale), site and full license, and student version. Some of them have limited functionality (e.g. the student version handles only 3-story buildings if I remember well, and writes different files). In some countries they also sell a version with and without Teamwork.&lt;BR /&gt;
The masks in the protMode field reflect these differences. You can decide if you want your add-on to run with a certain protection scheme, for example you might want to disable some of your add-on's functionality when ArchiCAD is in DEMO mode.&lt;BR /&gt;
&lt;BR /&gt;
APIEnv_CheckDongleID is a different technology; it is not supported any more. The original purpose was to help developers protect their add-ons with the same hw key what ArchiCAD uses.&lt;BR /&gt;
&lt;BR /&gt;
HTH,&lt;BR /&gt;
&lt;BR /&gt;
Akos</description>
    <pubDate>Mon, 14 Feb 2005 21:10:29 GMT</pubDate>
    <dc:creator>Akos Somorjai</dc:creator>
    <dc:date>2005-02-14T21:10:29Z</dc:date>
    <item>
      <title>getting the Key number</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/getting-the-Key-number/m-p/15264#M7947</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;in the API documentation, there is a reference to an API command APIEnv_CheckDongleID that can be used to get the dongle content.&lt;BR /&gt;&lt;BR /&gt;All I need is to get the number of the dongle itself. &lt;BR /&gt;&lt;BR /&gt;Does anyone have any information on this? Of is this something I should contact GS directly for?&lt;/DIV&gt;</description>
      <pubDate>Tue, 13 Dec 2022 21:35:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/getting-the-Key-number/m-p/15264#M7947</guid>
      <dc:creator>TomWaltz</dc:creator>
      <dc:date>2022-12-13T21:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: getting the Key number</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/getting-the-Key-number/m-p/15265#M7948</link>
      <description>Hmmm.  Yeah, the documentation on that page is pretty minimal, isn't it.  I haven't tried that one; somebody else will have to jump in.&lt;BR /&gt;
&lt;BR /&gt;
Karl</description>
      <pubDate>Mon, 07 Feb 2005 22:48:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/getting-the-Key-number/m-p/15265#M7948</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2005-02-07T22:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: getting the Key number</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/getting-the-Key-number/m-p/15266#M7949</link>
      <description>Look to APIEnv_ProtectionDataID instead APIEnv_CheckDongleID.</description>
      <pubDate>Tue, 08 Feb 2005 06:01:13 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/getting-the-Key-number/m-p/15266#M7949</guid>
      <dc:creator>Oleg</dc:creator>
      <dc:date>2005-02-08T06:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: getting the Key number</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/getting-the-Key-number/m-p/15267#M7950</link>
      <description>Thanks, Oleg, that's exactly what I was looking for.&lt;BR /&gt;
&lt;BR /&gt;
It seems like GS is not giving much information on that one. Perhaps Akos could shed a little more light on it for us? &amp;lt;hint, hint &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/E&gt; &amp;gt;</description>
      <pubDate>Tue, 08 Feb 2005 15:58:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/getting-the-Key-number/m-p/15267#M7950</guid>
      <dc:creator>TomWaltz</dc:creator>
      <dc:date>2005-02-08T15:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: getting the Key number</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/getting-the-Key-number/m-p/15268#M7951</link>
      <description>&lt;BLOCKQUOTE&gt;TomWaltz wrote:&lt;BR /&gt;It seems like GS is not giving much information on that one. Perhaps Akos could shed a little more light on it for us? &amp;lt;hint, hint &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/E&gt; &amp;gt;&lt;/BLOCKQUOTE&gt;

Why should we? &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;&lt;BR /&gt;
&lt;BR /&gt;
Let's see API_ProtectionInfo first. (i.e. ACAPI_Environment (APIEnv_ProtectionDataID, ...))&lt;BR /&gt;
There are several versions out on the market in terms of protection. The most common are DEMO (the name speaks for itself), NFR (Not-For-Resale), site and full license, and student version. Some of them have limited functionality (e.g. the student version handles only 3-story buildings if I remember well, and writes different files). In some countries they also sell a version with and without Teamwork.&lt;BR /&gt;
The masks in the protMode field reflect these differences. You can decide if you want your add-on to run with a certain protection scheme, for example you might want to disable some of your add-on's functionality when ArchiCAD is in DEMO mode.&lt;BR /&gt;
&lt;BR /&gt;
APIEnv_CheckDongleID is a different technology; it is not supported any more. The original purpose was to help developers protect their add-ons with the same hw key what ArchiCAD uses.&lt;BR /&gt;
&lt;BR /&gt;
HTH,&lt;BR /&gt;
&lt;BR /&gt;
Akos</description>
      <pubDate>Mon, 14 Feb 2005 21:10:29 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/getting-the-Key-number/m-p/15268#M7951</guid>
      <dc:creator>Akos Somorjai</dc:creator>
      <dc:date>2005-02-14T21:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: getting the Key number</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/getting-the-Key-number/m-p/15269#M7952</link>
      <description>&lt;BLOCKQUOTE&gt;
APIEnv_CheckDongleID is a different technology; it is not supported any more. The original purpose was to help developers protect their add-ons with the same hw key what ArchiCAD uses.
&lt;/BLOCKQUOTE&gt;

Is there a way to protect the add-on against copying to another computer now? I didn`t find anything useful so far, but I still believe it can be done. One way may be using the hardware key number, but is there also a function to retrieve for example the user`s email used to generate passwords (for EDU versions)?&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Peter</description>
      <pubDate>Tue, 12 Apr 2011 20:45:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/getting-the-Key-number/m-p/15269#M7952</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-04-12T20:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: getting the Key number</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/getting-the-Key-number/m-p/15270#M7953</link>
      <description>&lt;BLOCKQUOTE&gt;santi wrote:&lt;BR /&gt;Is there a way to protect the add-on against copying to another computer now? I didn`t find anything useful so far, but I still believe it can be done. One way may be using the hardware key number, but is there also a function to retrieve for example the user`s email used to generate passwords (for EDU versions)?&lt;/BLOCKQUOTE&gt;
That's entirely in your hands. Every developer will probably have a different policy on this, so it isn't an area that GS can help with.</description>
      <pubDate>Wed, 13 Apr 2011 22:24:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/getting-the-Key-number/m-p/15270#M7953</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2011-04-13T22:24:16Z</dc:date>
    </item>
  </channel>
</rss>

