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