Retrieving containerID from within windows docker containers

I am looking at a way to retrieve containerId from within a windows docker container similar to how its done for linux containers (using /proc/self/cgroup). Is there any mechanism or API to help with this?

Thanks