System::Net::Dns::GetHostEntry 메서드

Dns::GetHostEntry(String) method

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

static System::SharedPtr<IPHostEntry> System::Net::Dns::GetHostEntry(String hostNameOrAddress)
매개변수형식설명
hostNameOrAddressString호스트 이름 또는 IP 주소를 포함하는 문자열입니다.

ReturnValue

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

또 보기

Dns::GetHostEntry(System::SharedPtr<IPAddress>) method

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

static System::SharedPtr<IPHostEntry> System::Net::Dns::GetHostEntry(System::SharedPtr<IPAddress> address)
매개변수형식설명
주소System::SharedPtr<IPAddress>IP 주소입니다.

ReturnValue

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

또 보기