System.Windows.Forms.SystemInformation.UserInteractive Property

Gets a value indicating whether the current process is running in user-interactive mode.

Syntax

public static bool UserInteractive { get; }

Value

Documentation for this section has not yet been entered.

Remarks

When the SystemInformation.UserInteractive property is false, do not display any modal dialogs or message boxes, as there is no graphical user interface for the user to interact with.

This property is false only when called from a service process or from a Web application.

Note:

This property is supported only on Windows NT 3.51 or later, Windows 2000, Windows XP, and the Windows Server 2003 family.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0