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ètreTypeDescription
hostNameOrAddressStringLa chaîne qui contient un nom d’hôte ou une adresse IP.

ReturnValue

Une collection d’adresses IP.

Voir aussi