Get the NetBIOS name of this local computer in CSharp
Description
The following code shows how to get the NetBIOS name of this local computer.
Example
/*from ww w. j av a2s . com*/
using System;
class Sample
{
public static void Main()
{
Console.WriteLine("MachineName: {0}", Environment.MachineName);
}
}
The code above generates the following result.