I wrote a .NET winform app and set TopMost property to true. But I found that when I loggin to a remote destop, the window is still showing.
How to detect whether I'm in remote destop(remote desktop is active, typing/working in remote desktop) using .net framework? I am using .NET framework 4.8 and remote to Windows 10 1809 from Windows 10 1903