System::Net::Dns::GetHostAddresses method
Dns::GetHostAddresses method
Returns a collection of IP addresses of the specified host name or IP address.
static System::ArrayPtr<System::SharedPtr<IPAddress>> System::Net::Dns::GetHostAddresses(String hostNameOrAddress)
Parameter | Type | Description |
---|---|---|
hostNameOrAddress | String | The string that contains a hostname or IP address. |
ReturnValue
A collection of IP addresses.
See Also
- Typedef ArrayPtr
- Typedef SharedPtr
- Class IPAddress
- Class String
- Class Dns
- Namespace System::Net
- Library Aspose.PDF for C++