NAnt SDK Documentation - v0.85-nightly-2005-11-09

EnvironmentFunctions.GetMachineName Method 

[This is preliminary documentation and subject to change.]

Gets the NetBIOS name of this local computer.

[Visual Basic]
<Function(Name:="get-machine-name")>
Public Shared Function GetMachineName() As String
[C#]
[Function(Name="get-machine-name")]
public static string GetMachineName();

Return Value

The NetBIOS name of this local computer.

Remarks

Missing <remarks> documentation for M:NAnt.Core.Functions.EnvironmentFunctions.GetMachineName

Exceptions

Exception Type Condition
InvalidOperationException The name of this computer cannot be obtained.

See Also

EnvironmentFunctions Class | NAnt.Core.Functions Namespace