title: C# application needs to reference remote workstation in Citrix environment
body: <p>I have a C# standalone Windows Forms application. It connects to a back office system that requires the workstation name as part of the identification process. I'm using Environment.MachineName to get this. However the customer using this application will occasionally run it under a Citrix environment and, when they do, they want it to reference the remote machine name, not the machine it is installed on. I have never coded anything like this before, and am unfamiliar with Citrix (so I'm off to a flying start). How do I get the remote machine name? Any ideas hugely appreciated.</p>
  
  <p>Big thanks in advance.</p>