?
Solved

Change Computer Name & IP

Posted on 2003-03-26
2
Medium Priority
?
211 Views
Last Modified: 2013-11-20
Is there a way to programatically change the computer name and IP address of a particular network card. Any help would be greatly appreciated.

Thanks in advance,
John
0
Comment
Question by:jsaxon2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 1000 total points
ID: 8211751
The 1st part is easy, it's just 'SetComputerName()'. Setting the IP of a particular adapter can be done using http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B199749 ("INFO: AddIPAddress and DeleteIPAddress in IP Helper APIs"). See also http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iphlp/iphlp/managing_ip_addresses.asp ("Managing IP Addresses")
0
 
LVL 3

Author Comment

by:jsaxon2
ID: 8213556
Thanks very much.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question