How to capture screenshot of a window in desktop 2 when we are in desktop 1 using c# in windows 10/11
Sridhar R
1
Reputation point
Can anyone please help me how to capture windows running/located in desktop 2 when we are in desktop1 using c# in windows 10/11:
Working on a automation project which has to work in desktop 2 and I have to take screenshot of each step. I tried lot of ways but all are taking desktop 1 screenshot instead of desktop2 but my automation will run in desktop2