Summary
Gets the NetBIOS name of this local computer.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core .Functions - Containing Type
- EnvironmentFunctions
Syntax
[Function("get-machine-name")]
public static string GetMachineName()
Attributes
Type | Description |
---|---|
FunctionAttribute | Indicates that the method should be exposed as a function in NAnt build files. |
Return Value
Type | Description |
---|---|
string | The NetBIOS name of this local computer. |