Resolve()

Dns::Resolve(String) method

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

static System::SharedPtr<IPHostEntry> System::Net::Dns::Resolve(String hostName)

Arguments

ParameterTypeDescription
hostNameStringA host name that is used to create a new instance of the IPHostEntry class.

Return Value

A newly created IPHostEntry-class instance.

See Also