## Dns::GetHostEntry(String) method


Ana bilgisayar adı veya IP adresi içeren belirtilen dizeyi kullanarak yeni bir IPHostEntry-class örneği oluşturur.

```cpp
static System::SharedPtr<IPHostEntry> System::Net::Dns::GetHostEntry(String hostNameOrAddress)
```


| Parameter | Type | Açıklama |
| --- | --- | --- |
| hostNameOrAddress | String | Bir ana bilgisayar adı veya IP adresi içeren bir dize. |

### ReturnValue

Yeni oluşturulmuş IPHostEntry-class örneği.

## Ayrıca Bakınız

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [IPHostEntry](../../iphostentry/)
* Class [String](../../../system/string/)
* Class [Dns](../)
* Namespace [System::Net](../../)
* Library [Aspose.Page for C++](../../../)
## Dns::GetHostEntry(System::SharedPtr\<IPAddress\>) method


Belirtilen IP adresini kullanarak yeni bir IPHostEntry-class örneği oluşturur.

```cpp
static System::SharedPtr<IPHostEntry> System::Net::Dns::GetHostEntry(System::SharedPtr<IPAddress> address)
```


| Parameter | Type | Açıklama |
| --- | --- | --- |
| adres | System::SharedPtr\<IPAddress\> | IP adresi. |

### ReturnValue

Yeni oluşturulmuş IPHostEntry-class örneği.

## Ayrıca Bakınız

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [IPHostEntry](../../iphostentry/)
* Class [IPAddress](../../ipaddress/)
* Class [Dns](../)
* Namespace [System::Net](../../)
* Library [Aspose.Page for C++](../../../)
