title: how to change local machine/ethernet ip address
body: <p>I'm trying to make a program that can change pc/laptop ip address &amp; subnet mask.
  the input I'm trying to make is similar with the interface on IPv4 properties on windows(ip/subnet, dns/alternate dns).</p>
  
  <p>the ones that I can think of right now is using a netsh command to change the windows ip.
  what i want to do is to set/get the ethernet setting on windows</p>
  
  <p>thanks in advance</p>