I've searched a lot Javascript, C#, ASP.NET scripts, for a script that gets public IP and hostname but none of them could get me IP and hostname, only the ones that used third part sites to aprse the info from.
How can I do that without having to parse from third part websites? All scripts that I've tested returned my IP as hostname, or even Windows domain name.