## Dns::GetHostEntry(String) method


호스트 이름 또는 IP 주소를 포함하는 지정된 문자열을 사용하여 새로운 IPHostEntry-class 인스턴스를 생성합니다.

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


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| hostNameOrAddress | String | 호스트 이름 또는 IP 주소를 포함하는 문자열입니다. |

### ReturnValue

새로 생성된 IPHostEntry 클래스 인스턴스입니다.

## 또 보기

* 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


지정된 IP 주소를 사용하여 새로운 IPHostEntry-class 인스턴스를 생성합니다.

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


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| 주소 | System::SharedPtr\<IPAddress\> | IP 주소입니다. |

### ReturnValue

새로 생성된 IPHostEntry 클래스 인스턴스입니다.

## 또 보기

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