How can I get an IP address, given a domain name? For example: www.test.com
You can use the System.Net.Dns
class:
Dns.GetHostAddresses("www.test.com");
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With