Question

Is there a way to count the number of seconds(ticks?) since bootup even if a user change the time on computer?

Was it helpful?

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
scroll top