System::Net::Dns::GetHostEntry-Methode
Inhalt
[
Ausblenden
]Dns::GetHostEntry(String) method
Erstellt eine neue IPHostEntry-class-Instanz mithilfe des angegebenen Strings, der einen Hostnamen oder eine IP-Adresse enthält.
static System::SharedPtr<IPHostEntry> System::Net::Dns::GetHostEntry(String hostNameOrAddress)
| Parameter | Typ | Beschreibung |
|---|---|---|
| hostNameOrAddress | String | Ein String, der einen Hostnamen oder eine IP-Adresse enthält. |
ReturnValue
Eine neu erstellte Instanz der IPHostEntry-Klasse.
Siehe auch
- Typedef SharedPtr
- Class IPHostEntry
- Class String
- Class Dns
- Namespace System::Net
- Library Aspose.Font for C++
Dns::GetHostEntry(System::SharedPtr<IPAddress>) method
Erstellt eine neue IPHostEntry-class-Instanz mit der angegebenen IP-Adresse.
static System::SharedPtr<IPHostEntry> System::Net::Dns::GetHostEntry(System::SharedPtr<IPAddress> address)
| Parameter | Typ | Beschreibung |
|---|---|---|
| address | System::SharedPtr<IPAddress> | Die IP-Adresse. |
ReturnValue
Eine neu erstellte Instanz der IPHostEntry-Klasse.
Siehe auch
- Typedef SharedPtr
- Class IPHostEntry
- Class IPAddress
- Class Dns
- Namespace System::Net
- Library Aspose.Font for C++