Process.Start("ipconfig.exe", "/Release"); //这个是释放ip地址; Process.Start("ipconfig.exe", "/renew"); //这个是获取IP地址;