If I may ask, what is the reason that you need to know which particular DC your Network is hosted in?
As far as I recall, you can use an API call to get the Shard address, that your Network is hosted on, and from that do an nslookup, and then use a geo IP lookup tool, like ifconfig.co to see where that IP address is hosted.
LinkedIn :::
https://blog.rhbirkelund.dk/Like what you see? - Give a Kudo ## Did it answer your question? - Mark it as a Solution
🙂All code examples are provided as is. Responsibility for Code execution lies solely your own.