<?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: World Date/Time in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/World-Date-Time/m-p/274144#M7943</link>
    <description>You can REQUEST the Archicad license (key) number (Serial_number) and if this matches one in a list of numbers you have in your 'license' object then the object script can run - if not then END.&lt;BR /&gt;
&lt;BR /&gt;
You will need to know the license numbers for you client of course.&lt;BR /&gt;
And I believe this will not work if they are using the software keys as I think the numbers can change.&lt;BR /&gt;
Only works with the Codemeter (or old WIBU) keys.</description>
    <pubDate>Tue, 05 Apr 2016 08:34:04 GMT</pubDate>
    <dc:creator>Barry Kelly</dc:creator>
    <dc:date>2016-04-05T08:34:04Z</dc:date>
    <item>
      <title>World Date/Time</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/World-Date-Time/m-p/274143#M7942</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;I have developed a library of GDL objects for a specific client. &lt;BR /&gt;
I have shared this library with said client for internal use, however, to protect our IP for the long term, I have set up a timed licensing tool whereby: &lt;BR /&gt;
- there is a "license" object that checks todays date (using the DateTime parameter) vs a set expiry date &lt;BR /&gt;
- each object within the library calls on the "license" object as the very first command in the Master script to check if it has expired, if it has then the "END" command is executed. &lt;BR /&gt;
 &lt;BR /&gt;
All was good and well until I realised that DateTime parameter looks only at the OS set time and date - not the actual world time. Hence, my master security tool has a MAJOR flaw! When the license expires, all one has to do is simply change the time on his computer to last year! &lt;BR /&gt;
 &lt;BR /&gt;
&lt;B&gt;Hence, my very first question is: Is it possible to check the "world" time through GDL commands?&lt;/B&gt; - This would solve the problem instantly!&lt;BR /&gt;
 &lt;BR /&gt;
Otherwise, my best idea at this stage would be to: &lt;BR /&gt;
- record the date (from the computer calendar) each time the licence tool is invoked. &lt;BR /&gt;
- compare to the previous date recorded on each subsequent iteration and: &lt;BR /&gt;
  - if it's later or equal then re-record with current &lt;BR /&gt;
  - if it is an earlier than the previous then execute the "END" command as it would mean that the user has wound back the time/date settings &lt;BR /&gt;
 &lt;BR /&gt;
This is a bit messy as it would probably require an output file somewhere on the users computer that can be potentially meddled with externally. &lt;BR /&gt;
 &lt;BR /&gt;
&lt;B&gt;Does anyone have any other ideas?&lt;/B&gt;&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 05 Apr 2016 07:26:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/World-Date-Time/m-p/274143#M7942</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-05T07:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: World Date/Time</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/World-Date-Time/m-p/274144#M7943</link>
      <description>You can REQUEST the Archicad license (key) number (Serial_number) and if this matches one in a list of numbers you have in your 'license' object then the object script can run - if not then END.&lt;BR /&gt;
&lt;BR /&gt;
You will need to know the license numbers for you client of course.&lt;BR /&gt;
And I believe this will not work if they are using the software keys as I think the numbers can change.&lt;BR /&gt;
Only works with the Codemeter (or old WIBU) keys.</description>
      <pubDate>Tue, 05 Apr 2016 08:34:04 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/World-Date-Time/m-p/274144#M7943</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2016-04-05T08:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: World Date/Time</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/World-Date-Time/m-p/274145#M7944</link>
      <description>Hi Barry,&lt;BR /&gt;
&lt;BR /&gt;
Thank you for your reply.&lt;BR /&gt;
&lt;BR /&gt;
I should have mentioned that I already have the check for the "registered" ArchiCAD license key in place.&lt;BR /&gt;
&lt;BR /&gt;
What I'm after is a second "tier" of protection - a timer with an expiration date.&lt;BR /&gt;
Basically, if we stop working together, then I want to prevent un-authorized &lt;BR /&gt;
use of our IP (even on a previously registered ArchiCAD license)&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;Barry wrote:&lt;BR /&gt;You can REQUEST the Archicad license (key) number (Serial_number) and if this matches one in a list of numbers you have in your 'license' object then the object script can run - if not then END.&lt;BR /&gt;
&lt;BR /&gt;
You will need to know the license numbers for you client of course.&lt;BR /&gt;
And I believe this will not work if they are using the software keys as I think the numbers can change.&lt;BR /&gt;
Only works with the Codemeter (or old WIBU) keys.&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Tue, 05 Apr 2016 09:52:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/World-Date-Time/m-p/274145#M7944</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-05T09:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: World Date/Time</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/World-Date-Time/m-p/274146#M7945</link>
      <description>any new ideas for protection?</description>
      <pubDate>Fri, 03 Nov 2017 05:50:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/World-Date-Time/m-p/274146#M7945</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-03T05:50:32Z</dc:date>
    </item>
  </channel>
</rss>

