Change IP Adress with VB.NET / C#

Posted by: z0mbie_of_troN

Change IP Adress with VB.NET / C# - 01/12/05 03:12 PM

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/19/05 07:23 AM

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 01:29 PM

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 09:53 PM

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