Environment.MachineName Property gets the NetBIOS name of this local computer.
Imports System Class Sample Public Shared Sub Main() Console.WriteLine("MachineName: {0}", Environment.MachineName) End Sub End Class