How to determine if the system clock has been set back in time
From: David Lindgren (david.lindgren_at_hogia.se.REMOVE!)
Date: 02/23/04
- Next message: Gionni: "Create a signed message that Biztalk could understand"
- Previous message: Earth Worm Jim: "How can I tell waht permissions an assembly requires?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 23 Feb 2004 15:42:15 +0100
Hello.
I am trying to figure out a way to determine if the user has resetted the
system clock between two times of running my application. One idea I have is
that I could check the modified date of a system file which I "know" is
changed regulary (every day) and compare that to the current time. If the
modified date is later than current time the system clock has probably been
reset.
Is this a good way to find out about user resetting the clock or are there
other (better) ways to do this? Also, anyone have a good idea of which file
I could look at when comparing time?
Thank you for helping out.
/David.
- Next message: Gionni: "Create a signed message that Biztalk could understand"
- Previous message: Earth Worm Jim: "How can I tell waht permissions an assembly requires?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|