System::Net::Dns::GetHostEntry methode
Dns::GetHostEntry(String) method
Maakt een nieuw IPHostEntry-klasse‑instance aan met de opgegeven tekenreeks die een hostnaam of IP‑adres bevat.
static System::SharedPtr<IPHostEntry> System::Net::Dns::GetHostEntry(String hostNameOrAddress)
| Parameter | Type | Beschrijving |
|---|---|---|
| hostNameOrAddress | String | Een string die een hostnaam of IP-adres bevat. |
ReturnValue
Een nieuw aangemaakt IPHostEntry-class‑object.
Zie ook
- Typedef SharedPtr
- Class IPHostEntry
- Class String
- Class Dns
- Namespace System::Net
- Library Aspose.Page for C++
Dns::GetHostEntry(System::SharedPtr<IPAddress>) method
Maakt een nieuw IPHostEntry-class‑instance aan met het opgegeven IP-adres.
static System::SharedPtr<IPHostEntry> System::Net::Dns::GetHostEntry(System::SharedPtr<IPAddress> address)
| Parameter | Type | Beschrijving |
|---|---|---|
| adres | System::SharedPtr<IPAddress> | Het IP-adres. |
ReturnValue
Een nieuw aangemaakt IPHostEntry-class‑object.
Zie ook
- Typedef SharedPtr
- Class IPHostEntry
- Class IPAddress
- Class Dns
- Namespace System::Net
- Library Aspose.Page for C++