## Dns::GetHostAddresses method


Restituisce una collezione di indirizzi IP del nome host o dell'indirizzo IP specificati.

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


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| hostNameOrAddress | Stringa | La stringa che contiene un nome host o un indirizzo IP. |

### ReturnValue

Una collezione di indirizzi IP.

## Vedi anche

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