## Dns::Resolve method


Creates a new IPHostEntry-class instance using the specified host name.

```cpp
static System::SharedPtr<IPHostEntry> System::Net::Dns::Resolve(String hostName)
```


| Parameter | Type | Description |
| --- | --- | --- |
| hostName | String | A host name that is used to create a new instance of the [IPHostEntry](../../iphostentry/) class. |

### ReturnValue

A newly created IPHostEntry-class instance.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [IPHostEntry](../../iphostentry/)
* Class [String](../../../system/string/)
* Class [Dns](../)
* Namespace [System::Net](../../)
* Library [Aspose.PDF for C++](../../../)
