Get each screen resolution and zoom factor
<p>I'm trying to get every screen resolution (ex : 1920x1080) and zoom factor (ex : 125% or 120 dpi), without needing to move the application from screen to screen.</p>

<p>I've tried a lot of class/methods, but none gave me the correct result for my setup (Windows 10, primary screen is 1920x1080 zoom 125% and secondary screen (on the right) is 1920x1080 zoom 100%).</p>

<p><code>System.Windows.Forms.Screen</code> gives those results :
- 1920x1080 resolution for 1st screen (ok)
- 2400x1350 resolution for 2nd screen (not ok, should be 1920x1080)</p>

<p>Same results with <a href="http://www.wpftutorial.net/ScreenResolutions.html" rel="nofollow noreferrer">http://www.wpftutorial.net/ScreenResolutions.html</a></p>

<p>With PInvoke, <code>shcore.dll</code>'s <code>GetDpiForMonitor()</code> gives those results :
- 120 for 1st screen (ok)
- 120 for 2nd screen (not ok, should be 96)</p>

<p>Do you have any idea how I can do that and have correct results?</p>