How does time trial work?

pr2501
pr2501 used Ask the Experts™
on
Can you explain me procedures and function in general?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Ferruccio AccalaiSenior developer, analyst and customer assistance

Commented:
This question was answered here with a fiew of examples by experts http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_26921359.html
give it a try

Author

Commented:
I can not use it on PC with 64 bit registrys.

I was looking to find in myProtector.pas
InvalidSystemTime to try to make one on base of it, but i can't findit.

Author

Commented:
I am working to make time trial  by myself and i do not know how to resolve the problem if someone copyes encrypted string in regestry of DB at specific date and uses it again after some time whit time turned back.
Why Diversity in Tech Matters

Kesha Williams, certified professional and software developer, explores the imbalance of diversity in the world of technology -- especially when it comes to hiring women. She showcases ways she's making a difference through the Colors of STEM program.

Senior developer, analyst and customer assistance
Commented:
In my applications I use a combination of  installation date, day counter and last access date, so when I read the string if I find a last access date > of system date time it means that the system time was altered, and that stops the application, otherwise I simply update the last access date and the counter, 'til it don't exceed

Author

Commented:
And if someone makes copy of your date information in registry today- when app is working regulary. An then after trial time is over, turne date back on today and pastes the old date information.

Example date today is 30.12.12.
After encryption it becomes 123456.


After some time when tril will be over
Can he write 123456 in regystry and set system date to 30.12.12 and make app run?
Ferruccio AccalaiSenior developer, analyst and customer assistance

Commented:
How could he find this value and copy it if you store it in HKeyClassesRoot using a guid as key? I do so to hide it.

Author

Commented:
Thank you.
What is "quid as key" ?
Ferruccio AccalaiSenior developer, analyst and customer assistance

Commented:
guid, not quid

something like {90B44F61-9DEF-436E-B702-A3D8D137809B}

Press CTRL+SHIFT+G in your delphi ide to create a unique new GUID

Author

Commented:
1. I write path in my code for registery
in Hkey......userRoot as somwhere\deeper\tohide.
And the key is always the same.
I have take anodher fast look and i have saw
Guide just as value in registerys. So, can you
explain me what is the connection betwen your
guide and path to registery?
2. Does not the softwares on the net whick can track which registerys were used in time period worries?
Ferruccio AccalaiSenior developer, analyst and customer assistance

Commented:
I repeat, you could use it as key name, not key value, where to store your values, but you could use also a file somewhere in the same way.

Anyway, if you are looking for something that should be not ever cracked you need some hardware key, as any coded program could be cracked.

Finally, there are lot of combinations that you can use just from your mind and concatenate them into one encrypted string, like for example the last access time of a specified file

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial