Well, you use the GetFeatureValue("trial_expired") function. Get the value response and use the DateTime class to make manipulating the date easier.
Does that make sense?
Hi,
I have created a custom filed trial_expired for my product in LM, How can i readout the actual remaining trial days in VB.NET.Usetrial() and TrialDaysRemaining() only works on unverified trials
Thanks
Well, you use the GetFeatureValue("trial_expired") function. Get the value response and use the DateTime class to make manipulating the date easier.
Does that make sense?
That is what i am doing right now but i can not determine if the client has tamperd the date of the computer. I could read out the internet date and time but if the client is not connected to the internet i still get the wrong number of remaining days.
Any suggestions
IsDateValid() handles some cases of time-tampering. It will handle more in the future. If you want 100% accuracy you can force the customer to always be connected to the internet when they run your app.
Oke Wyatt that is a possibility and frankly that is what is want to do with the isGenuine method. I have already posted a message about this method of how to generate a inetError. I still can not make this part work.I have my network cable plugged out and used the Turboactivate.isGenuine method and still no inetError.Could you please give me the parameters used to generate this like Turboactivate.isGenuine(1,0,False,True) or some combination.I tried all combinations:Turboactivate.isGenuine(1,0,False,False)Turboactivate.isGenuine(1,0,True,False)Turboactivate.isGenuine(1,0,False,True)Turboactivate.isGenuine(1,0,True,True)
but still no inetError
IsGenuineEx is more than just an internet check. And more than just a "ping" to the activation servers. In fact in all if the cases listed IsGenuineEx() could return Genuine, depending on when the last successful check was.
Do you understand why?