System.Windows.Forms.SystemInformation.MonitorCount Property

Gets the number of display monitors on the desktop.

Syntax

public static int MonitorCount { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The SystemInformation.MonitorCount property indicates the number of monitors currently recognized by the operating system. This property returns a value greater than one only if multiple monitors are currently recognized by the operating system.

Note:

This property is supported only on Windows 98, Windows Millennium Edition, 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