## Dns::GetHostEntry(String) method


Maakt een nieuw IPHostEntry-klasse‑instance aan met de opgegeven tekenreeks die een hostnaam of IP‑adres bevat.

```cpp
static System::SharedPtr<IPHostEntry> System::Net::Dns::GetHostEntry(String hostNameOrAddress)
```


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| hostNameOrAddress | String | Een string die een hostnaam of IP-adres bevat. |

### ReturnValue

Een nieuw aangemaakt IPHostEntry-class‑object.

## Zie ook

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [IPHostEntry](../../iphostentry/)
* Class [String](../../../system/string/)
* Class [Dns](../)
* Namespace [System::Net](../../)
* Library [Aspose.Page for C++](../../../)
## Dns::GetHostEntry(System::SharedPtr\<IPAddress\>) method


Maakt een nieuw IPHostEntry-class‑instance aan met het opgegeven IP-adres.

```cpp
static System::SharedPtr<IPHostEntry> System::Net::Dns::GetHostEntry(System::SharedPtr<IPAddress> address)
```


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| adres | System::SharedPtr\<IPAddress\> | Het IP-adres. |

### ReturnValue

Een nieuw aangemaakt IPHostEntry-class‑object.

## Zie ook

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [IPHostEntry](../../iphostentry/)
* Class [IPAddress](../../ipaddress/)
* Class [Dns](../)
* Namespace [System::Net](../../)
* Library [Aspose.Page for C++](../../../)
