GetHostByAddress()
Dns::GetHostByAddress(String) method
Creates a new IPHostEntry-class instance using the specified string representation of an IP address.
static System::SharedPtr<IPHostEntry> System::Net::Dns::GetHostByAddress(String address)
Arguments
Parameter | Type | Description |
---|---|---|
address | String | The string representation of an IP address. |
Return Value
A newly created IPHostEntry-class instance.
Dns::GetHostByAddress(System::SharedPtr<IPAddress>) method
Creates a new IPHostEntry-class instance using the specified IP address.
static System::SharedPtr<IPHostEntry> System::Net::Dns::GetHostByAddress(System::SharedPtr<IPAddress> address)
Arguments
Parameter | Type | Description |
---|---|---|
address | System::SharedPtr<IPAddress> | The IP address. |
Return Value
A newly created IPHostEntry-class instance.
See Also
- Typedef SharedPtr
- Class IPHostEntry
- Class String
- Class Dns
- Class IPAddress
- Namespace System::Net
- Library Aspose.Slides