## Dns::GetHostAddresses method


Belirtilen ana bilgisayar adı veya IP adresinin IP adresleri koleksiyonunu döndürür.

```cpp
static System::ArrayPtr<System::SharedPtr<IPAddress>> System::Net::Dns::GetHostAddresses(String hostNameOrAddress)
```


| Parameter | Type | Açıklama |
| --- | --- | --- |
| hostNameOrAddress | String | Ana bilgisayar adı veya IP adresi içeren dize. |

### ReturnValue

IP adreslerinin bir koleksiyonu.

## Ayrıca Bakınız

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