IPHostEntry.AddressList Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets a list of IP addresses that are associated with a host.

Namespace:   System.Net
Assembly:  System (in System.dll)

member AddressList : IPAddress[] with get, set

Property Value

Type: System.Net.IPAddress[]

An array of type IPAddress that contains IP addresses that resolve to the host names that are contained in the Aliases property.

The following example uses the AddressList property to access the IP addresses that are associated with the IPHostEntry.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top