GetHostAddresses()
Dns::GetHostAddresses(String) 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)
Arguments
Parameter | Type | Description |
---|---|---|
hostNameOrAddress | String | The string that contains a hostname or IP address. |
Return Value
A collection of IP addresses.
See Also
- Typedef ArrayPtr
- Typedef SharedPtr
- Class IPAddress
- Class String
- Class Dns
- Namespace System::Net
- Library Aspose.Slides