title: What is my internet accessing IP
body: <p>I have two lan cards installed in my pc. One is for internet connection and another for share the internet to client machines. I am getting my IP with this code:</p>
  
  <pre><code>IPHostEntry HosyEntry = Dns.GetHostEntry((Dns.GetHostName()));
  foreach (IPAddress ip in HosyEntry.AddressList)
  {
      trackingIp = ip.ToString();
      textBox1.Text += trackingIp + ",";
  }
  </code></pre>
  
  <p>How can I find which one my internet connecting IP (I dont want to do it by text processing)?</p>