No, it Environment.TickCountdoes not depend on the system time settings. It was my interpretation of the documentation, but my curiosity required more complex proof, so I had the following code when setting up the system back and forth for one hour:
while (true)
{
Console.WriteLine(Environment.TickCount);
Thread.Sleep(1000);
}
... and the result showed an ideal sequence that was not affected by the time adjustments.
Update
Therefore, I did some more homework caused by a question from Marcus in the comments below. I am quite sure (I can’t confirm that) that Environment.TickCount is accessed GetTickCount, which has the following meanings in the docs:
GetTickCount , 10 16 . GetTickCount , GetSystemTimeAdjustment.
, , , , SetSystemTimeAdjustment.