System::Net::Dns::Resolve method

Dns::Resolve method

Creates a new IPHostEntry-class instance using the specified host name.

static System::SharedPtr<IPHostEntry> System::Net::Dns::Resolve(String hostName)
ParameterTypeDescription
hostNameStringA host name that is used to create a new instance of the IPHostEntry class.

ReturnValue

A newly created IPHostEntry-class instance.

See Also