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

Stefano Fattori 21 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?


.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
505 questions
{count} votes