3
Reply

Change Computer name using C#

Damodar

Damodar

Jul 15 2010 1:29 PM
12.2k
Hi all.

I am using a text box in windows form to enter the name and when the button is clicked it has to change the computer name to the name in the text box.

I have tried using [DllImport("Kernel32.dll")] but dint succeed. Please help me out in this regard.



Answers (3)