title: System.Windows.Forms.Screen.DeviceName gives garbage on Windows XP
body: <p>My 3.5 .NET Framework program handles multiple monitors, so I use <a href="http://msdn.microsoft.com/en-us/library/system.windows.forms.screen.devicename%28v=vs.90%29.aspx"><code>Screen.DeviceName</code></a> to distinguish between different monitors (can't just compare references to the instances of the <code>Screen</code> object -- different instances can refer to the same screen).</p>
  
  <p>The program works no problem on Windows 7, but on Windows XP SP3 with all .NET frameworks installed it would randomly do strange things, as if it failed to realise that the two given screens are in fact the same screen, which it should be able to recognize as they should have identical <code>DeviceName</code>s.</p>
  
  <p>What is the problem and how do I fix it?</p>