How to get terminal server IDsession like qwinsta.exe or query session in VB.NET (.NET 5)

Stefano Fattori 26 Reputation points

I'm developing an RDP application that also support shadow connect, I have to read active ID sessions to connect with shadow, but How can I get it like using qwinsta.exe on powershell or query session on cmd?


Microsoft Technologies based on the .NET software framework.
3,596 questions
{count} votes