https://stackoverflow.com/questions/866867
题
有一种方法来计数的秒数(蜱?),因为即使用户改变计算机上的时间启动时?
解决方案
System.Environment.TickCount 是你想要的。它得到的毫秒数,因为该系统开始。
System.Environment.TickCount