Is running in user interactive mode.
using System; class Sample { public static void Main() { Console.WriteLine("UserInteractive: {0}", Environment.UserInteractive); } }