Name

IPHostEntry

Synopsis

The Dns class uses this class to represent hosts. A host is named by its HostName property, and its aliases are stored in the Aliases property. The AddressList property contains all the IP addresses for that host.

Public Class IPHostEntry
                  ' Public Constructors
   Public Sub New() 
' Public Instance Properties
   Public Property AddressList As IPAddress()  
   Public Property Aliases As String()  
   Public Property HostName As String  
End Class

Returned By

Dns.{EndGetHostByName(), EndResolve(), GetHostByAddress(), GetHostByName(), Resolve()}

Get VB.NET Core Classes in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.