System::Net::Dns::GetHostEntry metodu

Dns::GetHostEntry(String) method

Ana bilgisayar adı veya IP adresi içeren belirtilen dizeyi kullanarak yeni bir IPHostEntry-class örneği oluşturur.

static System::SharedPtr<IPHostEntry> System::Net::Dns::GetHostEntry(String hostNameOrAddress)
ParameterTypeAçıklama
hostNameOrAddressStringBir ana bilgisayar adı veya IP adresi içeren bir dize.

ReturnValue

Yeni oluşturulmuş IPHostEntry-class örneği.

Ayrıca Bakınız

Dns::GetHostEntry(System::SharedPtr<IPAddress>) method

Belirtilen IP adresini kullanarak yeni bir IPHostEntry-class örneği oluşturur.

static System::SharedPtr<IPHostEntry> System::Net::Dns::GetHostEntry(System::SharedPtr<IPAddress> address)
ParameterTypeAçıklama
adresSystem::SharedPtr<IPAddress>IP adresi.

ReturnValue

Yeni oluşturulmuş IPHostEntry-class örneği.

Ayrıca Bakınız