System::Net::Dns::GetHostName 方法

Dns::GetHostName method

返回本地机器的主机名。

static String System::Net::Dns::GetHostName()

ReturnValue

本地机器的主机名。

另见