## Dns::GetHostName method


返回本地机器的主机名。

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


### ReturnValue

本地机器的主机名。

## 另见

* Class [String](../../../system/string/)
* Class [Dns](../)
* Namespace [System::Net](../../)
* Library [Aspose.Font for C++](../../../)
