System::Net::Dns::GetHostByAddress メソッド

Dns::GetHostByAddress(String) method

指定されたIPアドレスの文字列表現を使用して、新しい IPHostEntry-class インスタンスを作成します。

static System::SharedPtr<IPHostEntry> System::Net::Dns::GetHostByAddress(String address)
パラメーター説明
アドレスStringIP アドレスの文字列表現です。

ReturnValue

新しく作成された IPHostEntry-class インスタンスです。

参照

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

指定されたIPアドレスを使用して、新しい IPHostEntry-class インスタンスを作成します。

static System::SharedPtr<IPHostEntry> System::Net::Dns::GetHostByAddress(System::SharedPtr<IPAddress> address)
パラメーター説明
アドレスSystem::SharedPtr<IPAddress>IPアドレスです。

ReturnValue

新しく作成された IPHostEntry-class インスタンスです。

参照