Determines if the current process is running in user interactive mode. This will only ever be false when running as a ServiceProcess or from inside a Web application. When UserInteractive is false, no modal dialogs or message boxes should be displayed, as there is no GUI for the user to interact with.
[Visual Basic] Public Shared ReadOnly Property UserInteractive As Boolean [C#] public static bool UserInteractive {get;} [C++] public: __property static bool get_UserInteractive(); [JScript] public static function get UserInteractive() : Boolean;
SystemInformation Class | SystemInformation Members | System.WinForms Namespace