syncronize time

Everything else that doesn't fall into one of the other PB categories.
Kaisen2100
Enthusiast
Enthusiast
Posts: 121
Joined: Fri May 28, 2004 4:16 pm
Location: Madeira Island, Portugal
Contact:

syncronize time

Post by Kaisen2100 »

Anyone knows how to syncronize the actual time/date with a server like windows do with "time.windows.com"
PureBasic File Relocator [NEW VERSION 1.1] ==> http://pbfilerelocator.atspace.com/
TerryHough
Enthusiast
Enthusiast
Posts: 781
Joined: Fri Apr 25, 2003 6:51 pm
Location: NC, USA
Contact:

Post by TerryHough »

horst
Enthusiast
Enthusiast
Posts: 197
Joined: Wed May 28, 2003 6:57 am
Location: Munich
Contact:

Re: syncronize time

Post by horst »

Horst.
Kaisen2100
Enthusiast
Enthusiast
Posts: 121
Joined: Fri May 28, 2004 4:16 pm
Location: Madeira Island, Portugal
Contact:

Post by Kaisen2100 »

Thanks ... this info is usefull to make a verification of a registration key ...
the idea is to generate Reg Keys with some a "valid until DD/MM/YY" (this info encrypted in any way) so when the user enter the Reg Key the program connect to the server to verify if the user's date is right ... and if the Key is valid yet ... then you activate the program.

You can use it with the user's computer date but, the user can modify the date to make the Reg Key valid ... so if you check it against a server like the
NIST server http://tf.nist.gov/timefreq/index.html there is no way to have alter the date ... if the date in the server is ok then you activate the Program ... it is something like Registration and Product Activation at the same time.

what you think about it?
PureBasic File Relocator [NEW VERSION 1.1] ==> http://pbfilerelocator.atspace.com/
Post Reply