Is there a way to count the number of seconds since bootup?
Question
Is there a way to count the number of seconds(ticks?) since bootup even if a user change the time on computer?
Solution
System.Environment.TickCount
is what you want. It gets the number of milliseconds since the system was started.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow