title: Detecting DisplayPort (vs. DVI?) on Windows?
body: <p>I'd like to determine if a (currently active) display is attached via DisplayPort or not (for my purposes, I can assume a display not connected via DP is a DVI connection.)  Is there any Windows API for getting this information?</p>
  
  <p>I didn't see any information on how to approach this at displayport.org, although Wikipedia did mention that I could read some information from the EDID.  I also have found some code fragments on using the WmiMonitorID System.Management interface from C# (either a .NET or C++ solution would be fine), but this doesn't seem to provide that detail.</p>
  
  <p>Solutions that require NVidia or ATI-specific extensions would be acceptable as well, provided they work with their current offerings.</p>