Damodar

Damodar

  • NA
  • 56
  • 0

Change Computer name using C#

Jul 15 2010 1:29 PM
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)