System::Net::Dns::GetHostAddresses méthode
Dns::GetHostAddresses method
Renvoie une collection d’adresses IP du nom d’hôte ou de l’adresse IP spécifiés.
static System::ArrayPtr<System::SharedPtr<IPAddress>> System::Net::Dns::GetHostAddresses(String hostNameOrAddress)
| Paramètre | Type | Description |
|---|---|---|
| hostNameOrAddress | String | La chaîne qui contient un nom d’hôte ou une adresse IP. |
ReturnValue
Une collection d’adresses IP.
Voir aussi
- Typedef ArrayPtr
- Typedef SharedPtr
- Class IPAddress
- Class String
- Class Dns
- Namespace System::Net
- Library Aspose.Font for C++