Reputation: 8115
Is there a way to count the number of seconds(ticks?) since bootup even if a user change the time on computer?
Upvotes: 2
Views: 343
Reputation: 32207
System.Environment.TickCount
is what you want. It gets the number of milliseconds since the system was started.
Upvotes: 6