|  tuxroger Registered Member
        Date Joined Feb 2010 Total Posts : 8 | Posted 2/24/2010 3:59 AM (GMT -5) |   | I don't really know if the license i am generating with LFEdit is really hadrware binded. I mean, what if I want to generate a hardware binded license for another customer, without knowing anything about his/her hardware? My application is "secured" through eztrial1 routine, and in the help file, in the diagram, it seems to check the hardware binding. The thing is that I generate a license file, hardware binded from my computer. I run the application from my computer and it obiously runs perfectly. But when I try to run it from another computer it also works fine. Then, my question is: Is the generated license really hardware binded?
I don't know what am i doing wrong: license generation / license checking. Anyway, i would appreciate a lot any help.
Thanks in advance for your support!
roger. | | Back to Top | | |
 |  KevinD Forum Moderator

       Date Joined Mar 2007 Total Posts : 740 | Posted 2/26/2010 5:59 PM (GMT -5) |   | >>I don't really know if the license i am generating with LFEdit is really hadrware binded.
Under your Product Definition / Properties / EZTrial tab, do you have Hardware Binding checked?
>>I mean, what if I want to generate a hardware binded license for another customer, without knowing anything about his/her hardware?
The license file is not bound to any machine until you activate and trigger the application to add the current Computer ID to the Authorized Computers List.
When using EZTrial/EZTrigger, you need to use one of the Hardware Binding (Copy Protection) trigger codes, usually code 28 to unlock into the full version.
>>I run the application from my computer and it obiously runs perfectly. But when I try to run it from another computer it also works fine. Then, my question is: Is the generated license really hardware binded?
What Hardware Binding algorithms are you using? Have you previously tested on this other computer or was this the first time you ever ran the application there?
Regards, Kevin
SoftwareKey.com Support Team | | Back to Top | | |
 |  tuxroger Registered Member
        Date Joined Feb 2010 Total Posts : 8 | Posted 3/10/2010 3:55 AM (GMT -5) |   | Good morning. First of all, thanks for your clear answer. And then, please let me ask you another question: As I am using the "pre build" eztrial1() routine, I thought it was the algorithm itself that triggered that signal because it detected it was a "virgin" installation. Also, I thought it wrote to the license file the "last used" time and so on, but I can check the las modification date in the operative system and it seems not to be writting anything. In fact, the last modification date is the creation date.
I hope I have explained myself wel..!
Thanks in advance for your support again .
roger. | | Back to Top | | |
 |  KevinD Forum Moderator

       Date Joined Mar 2007 Total Posts : 740 | Posted 3/10/2010 1:22 PM (GMT -5) |   | Roger,
>As I am using the "pre build" eztrial1() routine, I thought it was the algorithm itself that triggered that signal because it detected it was a "virgin" installation.
Are you trying to copy the activated license file or the trial license file to the new machine? You are correct that this function should have reported a hardware binding issue or converted the illegal copy back to demo mode.
>I thought it wrote to the license file the "last used" time and so on, but I can check the las modification date in the operative system and it seems not to be writting anything. In fact, the last modification date is the creation date.
We use internal fields for this. We recommend using LFRW.exe (in the PLUS directory) to open your license file and read the product definition specific information LFEdit won't show you. You will find the Last Used Date and Time fields on the Expiration Fields tab in LFRW.
Our libraries actually restore the original Modified/Accessed dates so that your license files do not show up at the top of the list when you sort by Modified/Accessed date in Windows Explorer.
Let us know if you have any further questions.
Regards, Kevin
SoftwareKey.com Support Team | | Back to Top | | |
 |  tuxroger Registered Member
        Date Joined Feb 2010 Total Posts : 8 | Posted 3/11/2010 6:37 AM (GMT -5) |   | Good morning Kevin. Thanks again. I think I begin to understand the way eztrial works.. But the thing is that I have another question now: - I generate a HW binded license from my computer. I execute your eztrial1 sample application (changing the default password) and it detects me as a demo product. By now, this is OK, I think.. but how can I authorize that computer? I mean, how can I say this is a demo license and then, how can I bind the license to that computer? My goal is to distribute licenses that, in case that are not binded to any computer, bind theirselves to the first computer that are ran into and then, make them useless in any other computer. The thing is that I don't know how to detect if the first time is a virgin install and also I don't know how to authorize that computer in that case.. I hope explaining my main goal you can help me further!
Thanks again Kevin,
roger. | | Back to Top | | |
 |  KevinD Forum Moderator

       Date Joined Mar 2007 Total Posts : 740 | Posted 3/12/2010 3:36 PM (GMT -5) |   | Roger,
>how can I authorize that computer? I mean, how can I say this is a demo license and then, how can I bind the license to that computer?
When you create a new license file in LFEdit it will have a Soft Expiration Date set to 0/0/0. This 'fresh' license file would be the one you distribute to all users. The first time you run your application with this 'fresh' license file and EZTrial sees the 0/0/0 Soft Date it will initialize the trial period accordingly.
To 'activate' the license you need to authorize the current Computer ID using pp_copyadd() or LFile.CPAdd() and set the Expiration Mode to 'N' for non-expiring. This is done automatically when you process an EZTrigger trigger code (usually 28 to unlock into the full version).
The default trial functionality does not enforce copy protection since anyone can install the trial on a new machine. Only once the license has been activated is it bound to the hardware/software configuration of the machine.
Let us know if you have any further questions.
Regards, Kevin
SoftwareKey.com Support Team | | Back to Top | | |
 Forum powered by dotNetBB v2.42 dotNetBB © 2000-2010
|
|
|