## Dns::GetHostAddresses method


Επιστρέφει μια συλλογή από διευθύνσεις IP του καθορισμένου ονόματος κεντρικού υπολογιστή ή της διεύθυνσης IP.

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


| Parameter | Type | Περιγραφή |
| --- | --- | --- |
| hostNameOrAddress | String | Η συμβολοσειρά που περιέχει ένα όνομα κεντρικού υπολογιστή ή διεύθυνση IP. |

### ReturnValue

Μια συλλογή από διευθύνσεις IP.

## Δείτε επίσης

* 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++](../../../)
