I'm attempting to get the resolution of a the user's monitor using MonoDevelop/C#.
On most of the machines I've tested this on, it works flawlessly - with exception of this Macbook Pro.
Native resolution is 2880x1800, but DefaultAdapter
width reports 1280x1024. I can manually set the graphics device PreferredBufferHeight
and PreferredBufferWidth
, and it's fine.
Is there a more reliable way to return the resolution of a monitor?