Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
AddressList Property
Collapse the table of content
Expand the table of content

IPHostEntry.AddressList Property

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft