System::Net::Dns::GetHostByAddress method

Dns::GetHostByAddress(String) method

Creates a new IPHostEntry-class instance using the specified string representation of an IP address.

static System::SharedPtr<IPHostEntry> System::Net::Dns::GetHostByAddress(String address)
ParameterTypeDescription
addressStringThe string representation of an IP address.

ReturnValue

A newly created IPHostEntry-class instance.

See Also

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

Creates a new IPHostEntry-class instance using the specified IP address.

static System::SharedPtr<IPHostEntry> System::Net::Dns::GetHostByAddress(System::SharedPtr<IPAddress> address)
ParameterTypeDescription
addressSystem::SharedPtr<IPAddress>The IP address.

ReturnValue

A newly created IPHostEntry-class instance.

See Also