Gets the host name of the local computer.
A string that contains the DNS host name of the local computer.
Exception Type | Condition |
---|---|
SocketException | An error is encountered when resolving the local host name. |
DnsFunctions Class | NAnt.Core.Functions Namespace