Renaming the localhost

Status
Not open for further replies.

squirrel

Member
Joined
May 12, 2003
Messages
13
Location
UK
I need to rename the localhost through a little utility that Im putting together using VB.Net.

Can somebody please tell me the dead simple .NET command that will do this for me because I cant track down anything on MSDN thats of any use.

TIA

Squirrel
 
Its not me doing it, its a colleague.

I dont know if hes actually doing it to our company machines or whether hes doing it for his own network at home.

But regardless of the ethics, does anyone have an answer for me? :confused:
 
You can use 127.0.0.1 instead of the machine name, that being said I am closing this thread as I dont see a valid reason to programmatically changing it.
 
Status
Not open for further replies.
Back
Top