System::Net::Dns::GetHostEntry method
Contents
[
Hide
]Dns::GetHostEntry(String) method
Creates a new IPHostEntry-class instance using the specified string that contains a host name or IP address.
static System::SharedPtr<IPHostEntry> System::Net::Dns::GetHostEntry(String hostNameOrAddress)
Parameter | Type | Description |
---|---|---|
hostNameOrAddress | String | A string that contains a hostname or IP address. |
ReturnValue
A newly created IPHostEntry-class instance.
See Also
- Typedef SharedPtr
- Class IPHostEntry
- Class String
- Class Dns
- Namespace System::Net
- Library Aspose.PDF for C++
Dns::GetHostEntry(System::SharedPtr<IPAddress>) method
Creates a new IPHostEntry-class instance using the specified IP address.
static System::SharedPtr<IPHostEntry> System::Net::Dns::GetHostEntry(System::SharedPtr<IPAddress> address)
Parameter | Type | Description |
---|---|---|
address | System::SharedPtr<IPAddress> | The IP address. |
ReturnValue
A newly created IPHostEntry-class instance.
See Also
- Typedef SharedPtr
- Class IPHostEntry
- Class IPAddress
- Class Dns
- Namespace System::Net
- Library Aspose.PDF for C++