## Dns::GetHostByName method


معلومات RTTI.

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


| Parameter | Type | الوصف |
| --- | --- | --- |
| hostName | String | اسم المضيف. |

### ReturnValue

مثيل جديد تم إنشاؤه من الفئة IPHostEntry.
## ملاحظات


ينشئ مثيلًا جديدًا من الفئة IPHostEntry باستخدام اسم المضيف المحدد.
## انظر أيضًا

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