0

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

  • Does GetEnviromentVariable get you heading in the right direction? https://learn.microsoft.com/en-us/dotnet/api/system.environment.getenvironmentvariable?view=net-5.0 – Hursey Feb 25 '21 at 21:21
  • mmmh.. no, I don't think so.. I have to get an ID session on the terminal server, so I have to it by ip or hostname, not local.. – Stefano Mar 01 '21 at 13:08

0 Answers0