## Dns::GetHostByName method


RTTI information.

```cpp
static System::SharedPtr<IPHostEntry> System::Net::Dns::GetHostByName(String hostName)
```


| Parameter | Type | Description |
| --- | --- | --- |
| hostName | String | The host name. |

### ReturnValue

A newly created IPHostEntry-class instance.
## Remarks


Creates a new IPHostEntry-class instance using the specified host name. 
## See Also

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