title: How to detect, from browser, if user is running in Remote Desktop session?
body: <p>Is there a ways to check inside a browser (e.g. javascript) if the user is running inside a Remote Desktop session? </p>
  
  <hr>
  
  <p>If the user is running their browser inside a Remote Desktop (i.e. Terminal Services), i want to disable animations on the web-site.</p>
  
  <p>If this were a native application, as opposed to a web-site, i could perform this checking using:</p>
  
  <pre><code>//Native code
  isRemoteSession = GetSystemMetrics( SM_REMOTESESSION );
  </code></pre>
  
  <p>or</p>
  
  <pre><code>//Managed Code:
  isRemoteSession = System.Windows.Forms.SystemInformation.TerminalServerSession;
  </code></pre>
  
  <p>Is there a similar check that can be done inside the browser? </p>
  
  <p><strong>Note:</strong> Assume for the purposes of this discussion that the browser we're talking about is Internet&nbsp;Explorer&nbsp;8.</p>
  
  <hr>
  
  <p><strong>Update One:</strong> Perhaps something in <a href="https://stackoverflow.com/questions/192839/how-can-you-get-the-terminal-service-client-machine-name-from-javascript">How can you get the terminal service client machine name from javascript?</a></p>