GetHostByName()
Dns::GetHostByName(String) method
Creates a new IPHostEntry-class instance using the specified host name.
static System::SharedPtr<IPHostEntry> System::Net::Dns::GetHostByName(String hostName)
Arguments
Parameter | Type | Description |
---|---|---|
hostName | String | The host name. |
Return Value
A newly created IPHostEntry-class instance.
See Also
- Typedef SharedPtr
- Class IPHostEntry
- Class String
- Class Dns
- Namespace System::Net
- Library Aspose.Slides