views:

85

answers:

1

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

+4  A: 

System.Environment.TickCount is what you want. It gets the number of milliseconds since the system was started.

William Brendel
thanks a lot dude
Searock