PC Review


Reply
Thread Tools Rate Thread

Changing IP address at runtime in .NET Framework or Windows XP

 
 
Alex Vinokur
Guest
Posts: n/a
 
      16th Oct 2006
Microsoft Windows XP Professional

We can change IP address settings by using following dialogs:
"My Network Places" Window->Properties
"Network Connections" Window->Local Area Connection
"Local Area Connection Status" Window->General->Properties
"Local Area Connection Properties" Window->General->Internet
Protocol (TCP/IP)
"Internet Protocol (TCP/IP) Properties" Window->General->Use
the following IP address (IP address, Subnet mask, Default gateway).

But that is executed statically (not at runtime).

We need to do the same thing at runtime within program (C++, C#).
Is there any API that enables to do that?

--
Alex Vinokur
email: alex DOT vinokur AT gmail DOT com
http://mathforum.org/library/view/10978.html
http://sourceforge.net/users/alexvn

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows XP SP2 IP address changing to 0.0.0.0 Jason Windows XP Help 1 8th Nov 2007 08:44 PM
Changing IP address at runtime in .NET Framework or Windows XP Alex Vinokur Windows XP Configuration 0 16th Oct 2006 10:43 AM
Unable to edit Windows Application at Runtime in Framework 2.0 Joe Microsoft Dot NET Framework Forms 0 11th Oct 2006 05:34 PM
Windows keeps changing my ip address to 169........... =?Utf-8?B?SHZ5IERydmVy?= Windows XP Networking 1 19th Jan 2005 12:55 AM
Changing reference from 1.0 framework dll's to 1.1 framework dll DotNetJunkies User Microsoft Dot NET Framework 1 5th May 2004 01:44 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:55 PM.