title: How to get the name or IP of current web server in Sharepoint using C#
body: <p>I am trying to get the server name or IP in a SharePoint farm I am accessing. we have a load balance and two web front ends so it is confusing for the debug to find out which server is being accessed. 
  Is there a way we can find out the current WFE in SharePoint being accessed using C# code. I am not finding the correct function.
  Any help please.</p>