Screenshot captured using BitBlt in C# results a black image on Windows 10
Screenshot captured using BitBlt in c# resulted a black image on Windows 10 . Please help me to resolve this. Screenshot is black image for Chrome (when hardware accelerated mode is on) and IE/Edge windows. Output image is black only for Edge, IE browser windows in Windows 10 and Chrome browser window when hardware accelerated mode is ON. Apart from all other windows including transparent windows screenshots are good. Here is the code: const int Srccopy = 0x00CC0020; var windowRect = new Rect(); GetWindowRect(handle, ref windowRect); int width = windowRect.right - windowRect.left; int height =