NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

SystemInformation.UserInteractive

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;

See Also

SystemInformation Class | SystemInformation Members | System.WinForms Namespace