Provides a container class for Internet host address information.
Public Constructors | |
| ip_host_entry ()=default | |
| Initializes a new instance of the xtd::net::ip_host_entry. | |
Public Properties | |
| auto | address_list () const noexcept -> const xtd::array< xtd::net::ip_address > & |
| Gets List of IP addresses that are associated with a host. | |
| auto | address_list () noexcept -> xtd::array< xtd::net::ip_address > & |
| Gets List of IP addresses that are associated with a host. | |
| auto | address_list (const xtd::array< xtd::net::ip_address > &address_list) noexcept -> ip_host_entry & |
| Sets List of IP addresses that are associated with a host. | |
| auto | aliases () const noexcept -> const xtd::array< xtd::string > & |
| Gets List of aliases that are associated with a host. | |
| auto | aliases () noexcept -> xtd::array< xtd::string > & |
| Gets List of aliases that are associated with a host. | |
| auto | aliases (const xtd::array< xtd::string > &aliases) noexcept -> ip_host_entry & |
| Sets List of aliases that are associated with a host. | |
| auto | host_name () const noexcept -> const xtd::string & |
| Gets the DNS name of the host. | |
| auto | host_name (const xtd::string &host_name) noexcept -> ip_host_entry & |
| Sets the DNS name of the host. | |
Additional Inherited Members | |
| object ()=default | |
| Create a new instance of the ultimate base class object. | |
| virtual bool | equals (const object &obj) const noexcept |
| Determines whether the specified object is equal to the current object. | |
| virtual xtd::size | get_hash_code () const noexcept |
| Serves as a hash function for a particular type. | |
| virtual type_object | get_type () const noexcept |
| Gets the type of the current instance. | |
| template<class object_t> | |
| xtd::unique_ptr_object< object_t > | memberwise_clone () const |
| Creates a shallow copy of the current object. | |
| virtual xtd::string | to_string () const |
| Returns a xtd::string that represents the current object. | |
| template<class object_a_t, class object_b_t> | |
| static bool | equals (const object_a_t &object_a, const object_b_t &object_b) noexcept |
| Determines whether the specified object instances are considered equal. | |
| template<class object_a_t, class object_b_t> | |
| static bool | reference_equals (const object_a_t &object_a, const object_b_t &object_b) noexcept |
| Determines whether the specified object instances are the same instance. | |
|
default |
Initializes a new instance of the xtd::net::ip_host_entry.
|
nodiscardnoexcept |
Gets List of IP addresses that are associated with a host.
|
nodiscardnoexcept |
Gets List of IP addresses that are associated with a host.
|
noexcept |
Sets List of IP addresses that are associated with a host.
| address_list | An xtd::net::ip_address array of IP addresses that are associated with a host. |
|
nodiscardnoexcept |
Gets List of aliases that are associated with a host.
|
nodiscardnoexcept |
Gets List of aliases that are associated with a host.
|
noexcept |
Sets List of aliases that are associated with a host.
| aliases | A string array of aliases that are associated with a host. |
|
nodiscardnoexcept |
Gets the DNS name of the host.
|
noexcept |
Sets the DNS name of the host.
| hist_name | A string represent the DNS name of the host. |