NAnt
Help
Function Reference
dns::get-host-name
v0.92
dns::get-host-name
Gets the host name of the local computer.
Usage
string dns::get-host-name()
Return Value
A string that contains the DNS host name of the local computer.
Exceptions
The function will fail in any of the following circumstances:
An error is encountered when resolving the local host name.
Requirements
Assembly:
NAnt.Core (0.92.4543.0)