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:

Requirements

Assembly: NAnt.Core (0.91.4312.0)