Is there any way to find out when Windows 10 was started? Advices from this page don't work properly. They return time of the last restart, and don't consider shut down events. I think it is connected with Windows 10 fast startup function. Probably someone knows how to get a right result without switching off this feature.
Asked
Active
Viewed 97 times
0
-
Have you given [this](http://stackoverflow.com/questions/7407286/how-to-know-when-was-windows-started-or-shutdown) a try? – Will Ray Mar 31 '16 at 21:23
-
yep, i tried some of these. The result is always the same. – Oleh Khitrin Mar 31 '16 at 21:47
1 Answers
-1
Try to use this function, i'm using it:
DateTime start()
{
DateTime d = new DateTime();
return d.AddMilliseconds(Environment.TickCount);
}

Minions
- 5,104
- 5
- 50
- 91