If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Any win32 API to set IP Address?
Konda Ankireddyapalli wrote:
Anyone knows of any Windows API to set IP address on an adapter(or a virtual adapter)? I don't know how to do that. But there is IPCONFIG utility that can change IP address. When I want to do something similar to what system utilities do I always open their executables with Dependency Walker and look at imported API functions. Then I read in MSDN about these functions. Usually at this point solution becomes clear. HTH Alex |
#2
|
|||
|
|||
"Alex Blekhman" wrote in news:2uor97F2c0emlU1@uni-
berlin.de: Konda Ankireddyapalli wrote: Anyone knows of any Windows API to set IP address on an adapter(or a virtual adapter)? You can use the IpReleaseAddress and IpRenewAddress fuctions in case your are having a DHCP. Otherwiese you need the AddIpAddress and DeleteIpAddress IP Helper functions. PI |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
New Situation. TCP/IP Can't Assign DHCP address | Bob N. | Networking | 1 | September 7th 04 04:42 AM |
address book | Otto Piechowski | General | 3 | August 3rd 04 03:25 AM |
Windows Security Update CD Feb 2004 | Tom _Hyde | Software & Applications | 8 | July 31st 04 12:16 AM |
ICS and STATIC IP address. | Kenny S | Networking | 3 | July 14th 04 03:25 PM |
Can't type IP Address in Network Control Panel | Paul Newman | Networking | 1 | June 7th 04 11:17 AM |