'c# - take a screenshot when magnifier is on

I want to take a screenshot. However, since the Microsoft magnifying glass is on, the image in the magnified area is captured, not the entire screen.

How can I take a screenshot of the whole screen?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source