Hello, this is my first time posting here so treat me nicely .
My question is that I'm using System.Net.Dns.GetHostByName("Name") and it's only returning the primary IP address for each computer even though some of them have more than one address. Is there something I'm doing wrong? Is there a way to get all the IP addresses by using Sockets? If someone would explain this to me it would be greatly appreciated, thanks!
My question is that I'm using System.Net.Dns.GetHostByName("Name") and it's only returning the primary IP address for each computer even though some of them have more than one address. Is there something I'm doing wrong? Is there a way to get all the IP addresses by using Sockets? If someone would explain this to me it would be greatly appreciated, thanks!