title: Terminal Services command "Query Session" in C#
body: <p>I'm looking to retrieve this information using C#.  I know that I can Shell out and execute these commands, but I'm hoping that I can do it all through System.Diagnostic namespace... 
  <a href="https://i.stack.imgur.com/sXiai.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sXiai.png" alt="enter image description here"></a></p>