System::Net::IPHostEntry class
Contents
[
Hide
]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
Method | Description |
---|---|
get_AddressList() | Gets the collection of IP addresses of the host. |
get_Aliases() | Gets the collection of aliases of the host. |
get_HostName() const | RTTI 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 override | Analog of C# Object.ToString() method. Enables converting custom objects to string. |
See Also
- Class Object
- Namespace System::Net
- Library Aspose.PUB for C++