System::Net::IPHostEntry class

IPHostEntry class

Represents information about an internet host address. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

class IPHostEntry : public System::Object

Methods

MethodDescription
get_AddressList()Gets the collection of IP addresses of the host.
get_Aliases()Gets the collection of aliases of the host.
get_HostName() constRTTI information.
IPHostEntry()Constructs a new instance.
set_AddressList(System::ArrayPtr<System::SharedPtr<IPAddress>>)Sets a collection of IP addresses of the host.
set_Aliases(System::ArrayPtr<String>)Sets a collection of aliases of the host.
set_HostName(String)Sets the host name.
ToString() const overrideAnalog of C# Object.ToString() method. Enables converting custom objects to string.

See Also