title: Programatically Change "Advanced TCP/IP Settings" - un-check "Use Default Gate Way on Remote Network"
body: <p><img src="https://i.stack.imgur.com/gn31O.png" alt="enter image description here"></p>
  
  <p>Description :</p>
  
  <p>I created a Dial-Up Connection Programatically to commnunicate with my device and the Laptop. And once the connection is established with the Dial-Up connection Created, My internet connection which is connected via LAN is not working and the status of my LAN connection ( used for internet connection remains ) connected.</p>
  
  <p>To over come this I need to un-check the "Use Defualt Gate Way on Remote Network", option by, <code>right click my dial-up connection -&gt; properties -&gt; Netwroking TAB -&gt; Select Internet Protocol (TCP/IP) -&gt; Properties -&gt; Advanced -&gt; I get Advanced TCP/IP settings -&gt; Unchek "Use Default Gate Way on Remote Network".</code></p>
  
  <p>I am using RAS functions to create a Phonebook for my dial-up connection. Is there any structures available to make this as an option. I didnd found any structure parameters to make this as an option. Please advice..</p>
  
  <p>How to to this programatically? Can I use any APIs.</p>