Mar 14, 2018 11:29 PM|KathyW|LINK
I copied your page and tested it, and it gives (after asking my permission) the correct data. I am on Win 10. So, it's not specific to Win 10 if you are having problems.
Now, what do you mean by you can't get the location "while connecting to company’s network"? Connecting to a page on your company's internal site? Something else?
(And, just asking, but how does this question relate to asp.net, which is what this forum is about?)