title: c# get client username
body: <p>I'm trying to get my logged username of my client, but I get still server-information. This are my trys:</p>
  
  <pre><code>Environment.UserName;
  System.Security.Principal.WindowsIdentity.GetCurrent().User;
  System.Security.Principal.WindowsIdentity.GetCurrent().Name;
  System.Net.Dns.GetHostName();
  Request.ServerVariables["REMOTE_ADDR"];
  Request.UserHostAddress;
  </code></pre>