System VB.Net by API

Imports System
Public Class MainClass
   Shared Sub Main()
        Console.WriteLine("UserInteractive:    " & System.Environment.UserInteractive)
   End Sub 
End Class