Code to Change the TCP/IP configuration of the computer to DHCP

177 views Asked by At

I need to write C# code for the below request - My exe allows to change the TCP/IP configuration to DHCP while they select Dynamic IP button

I am in need of piece of code (or else) please provide suggessions/related links

1

There are 1 answers

2
fejesjoco On

You can use the netsh tool, and you can invoke that from any programming language: http://support2.microsoft.com/kb/257748