Change IP Adress with VB.NET / C#

Posted by: z0mbie_of_troN

Change IP Adress with VB.NET / C# - 01/12/05 07:12 AM

Hi.

Does anyone know how I can change a IP Address on a local machine using a VB.NET / C# Application?

Information on where I can read about it will be fine.

Thanks.
Posted by: n0mel

Re: Change IP Adress with VB.NET / C# - 01/18/05 11:23 PM

There is are dos commands that lets you do this. You could use ShellExec or something to run them with the proper parameters.
Posted by: dutchman

Re: Change IP Adress with VB.NET / C# - 02/11/07 05:29 AM

In command (DOS) you can typ:
ipconfig /?

You will get help how to modify the IP adres.
Posted by: Gremelin

Re: Change IP Adress with VB.NET / C# - 02/11/07 01:53 PM

He's wanting to do it from wihtin a program he's creating vs utilizing the built in utilities in Windows.