PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Prevent user from changing date
Prevent user from changing date
Iniciado por Lazhar, 06,dic. 2020 09:41 - 4 respuestas
Miembro registrado
4 mensajes
Publicado el 06,diciembre 2020 - 09:41
Hi every body
I'm beginner with windev
I'm working on desktop application and i intend to make it 30 days trial, the problem that i face is changing the date by the user to extend trial period.
I use windev 25 and i want to know how to detect if user changes the date of system.
Can any one here helps me, Thanks
sorry if my english is bad :D
Publicado el 06,diciembre 2020 - 20:29
Use the date from the internet and not from the local computer. They cannot change that one.
Miembro registrado
4 mensajes
Publicado el 07,diciembre 2020 - 11:31
Thanks Bob Roos :thank you:
but my application doesn't require internet connection, so he can use it without connecting to internet
Publicado el 07,diciembre 2020 - 13:31
one simple way:

STORE the date the user starts using your application (of course)
STORE EACH LAST DATE, IF GREATER than the first one
And of course, if date is suddenly SMALLER than the last one, either your user invented a time machine, or he changed the date of the computer.... and then you block
Miembro registrado
4 mensajes
Publicado el 08,diciembre 2020 - 08:44
Thank you Mr Argus
good idea
:D