I'm trying to create an RDP and shadow connect Application with visual studio 2019 (.NET 5.0). Is there any class that can I use for this? I tried to use vb6 class "WTSQuerySessionInformation" with no success, it doesn't work. I tried to retrieve session ID using start process (qwinsta.exe) but I can't get the output.
Also COM component Microsoft Terminal Service doesn't work on vb.net 2019 Any ideas?
Thank you so much