0

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.

Community
  • 1
  • 1

1 Answers1

-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