Does Date class in java calculated or retrieved from user pc? -
this question has answer here:
i want make trial version java applications depend on date..does date class retrieved user's pc can trick ? or it's calculated ?
the date information indeed come system date on computer it's running on. if web application java code running on server, that's come from. if it's standalone java program you're sharing others, date user's computer.
there's not anywhere else come if think it: computers don't have secret, "correct" date , separate user-modifiable one.
Comments
Post a Comment