AddressList gets or sets a list of IP addresses that are associated with a host.
Example
Get all IP Addresses from devices attached to the machine
string hostName = Dns.GetHostName();
IPHostEntry ipHostEntry = Dns.GetHostEntry(hostName);
foreach (IPAddress item in ipHostEntry.AddressList)
{
var IPAddress = item.ToString();
…
}