title: Get display name that matches that found in display settings
body: <p>While writing a WPF application, I want to get the names of the displays found in the standard windows display settings dialog.  I've tried WMI querying Win32_DesktopMonitor, and System.Windows.Forms.Screen.AllScreens.</p>
  
  <p>The names that show in the standard windows display settings list are:</p>
  
  <pre><code>Mobile PC Display
  DELL 2407WFP
  </code></pre>
  
  <p>Win32_DesktopMonitor provides the following (stripped of unrelated info):</p>
  
  <pre><code>DISPLAY 1
  Caption = Generic PnP Monitor
  CreationClassName = Win32_DesktopMonitor
  Description = Generic PnP Monitor
  DeviceID = DesktopMonitor1
  MonitorManufacturer = (Standard monitor types)
  MonitorType = Generic PnP Monitor
  Name = Generic PnP Monitor
  PNPDeviceID = DISPLAY\DELA017\5&amp;2F0149CC&amp;0&amp;UID1078064
  
  DISPLAY 2
  Caption = Generic PnP Monitor
  CreationClassName = Win32_DesktopMonitor
  Description = Generic PnP Monitor
  DeviceID = DesktopMonitor2
  MonitorManufacturer = (Standard monitor types)
  MonitorType = Generic PnP Monitor
  Name = Generic PnP Monitor
  PNPDeviceID = DISPLAY\CMO1720\4&amp;164FD10C&amp;0&amp;UID67568640
  </code></pre>
  
  <p>System.Windows.Forms.Screen.AllScreens provides a list of devices (stripped of unrelated info):</p>
  
  <pre><code>DISPLAY 1
  DeviceName = \\.\DISPLAY1
  
  DISPLAY 2
  DeviceName = \\.\DISPLAY3
  </code></pre>
  
  <p>Clearly I should be able to cross reference the DeviceName, DeviceID or PNPDeviceID with a list somewhere else to get the name, no?</p>
  
  <p>Please don't bust me for this, I've googled everything I could think of and all I ever find is info about AllScreens and Win32_DesktopMonitor, but nothing about finding the display names we see in the standard windows display settings dialog.</p>
  
  <p>Thank you very much.</p>