title: Preferred way Of getting Client name From Terminal Server Session
body: <p>I need to get the underlying client PC name from a user's terminal server session.</p>
  
  <p>I know it lives in <code>HKEY_CURRENT_USER\Volatile Environment\CLIENTNAME</code> but is there another (preferably native .net) method of getting it?</p>