Imports SystemClass Sample Public Shared Sub Main() Console.WriteLine("UserName: {0}", Environment.UserName) End Sub 'MainEnd Class