SetLocalPrimaryComputerName (kernel32)
Last changed: anonymous

.
Summary
Sets the primary local network name for the computer from which it is called.

C# Signature:

[DllImport("kernel32.dll", CharSet=CharSet.Auto)]
static extern uint SetLocalPrimaryComputerName(
    string lpDnsFQHostname,
    uint ulFlags);

User-Defined Types:

None.

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation