[DllImport("user32.dll")]
static extern IntPtr MonitorFromRect([In] ref RECT lprc, uint dwFlags);
None.
const uint MONITOR_MONITOR_DEFAULTTONULL = 0x00000000;
const uint MONITOR_MONITOR_DEFAULTTOPRIMARY = 0x00000001;
const uint MONITOR_DEFAULTTONEAREST = 0x00000002;
Consider System.Windows.Forms.Screen class and its FromRectangle.
Please add some!
Consider System.Windows.Forms.Screen.