I am always checking Graphics.FromHwnd(IntPtr.Zero).DpiX
value and scaling my component with this value. But when I change my scale rate on "Windows Display Settings" while the application is running, Graphics still looks same. Dpi value could not updated at runtime.
Scaling is 100% at the beginning > Application has been started > DpiX is 98 > Scaling changed to 150% > DpiX is still 98, but it should be 144.
Is there any way to find current dpi or scale rate?