GetTickCount function called from a docker container in a host server

You might want to take a look at this SO post with a c# snippet that mimiks GetTickCount for remote machines. From the container perspective, your host is nothing else than a remote machine. Just replace GetRemoteMachineTickCount("REMOTEMACHINENAME"); with GetRemoteMachineTickCount("host.docker.internal");and you should be good to go.

Docker Desktop for Windows will provide the dns name host.docker.internal to address your host system from a container (see: Networking features in Docker Desktop for Windows | Docker Documentation).