javaregistryconfigcommercial-application

How to write a timestamp to windows registry and conf in linux


I am new to commercial software development. I am working towards developing 2 versions of a Java based tool.
1) Trial Version (30 Days free use)
2) Full version
As I understand for the trial version the start date has to be recorded in registry or conf file. But I am unable to identify how can I write a Java program which will write a timestamp to registry and conf files. Can anyone please help me understand how to do so.


Solution

  • Preferences API is what you need.

    But going back to your original goal, it is much more difficult to implement such system than just writing your timestamp into the system repository or some other storage.

    You need to be sure that:

    Even if you are sure about your timestamp source, there is also high chances that your licensing library will be decompiled with JD-GUI and checking code removed.

    To make your check strong enough you need: