GetComputerNameEx (kernel32)
Last changed: -183.63.127.82

.
Summary
Retrieves a NetBIOS or DNS name associated with the local computer.

C# Signature:

[DllImport("kernel32.dll", SetLastError=true, CharSet=CharSet.Auto)]
static extern bool GetComputerNameEx(COMPUTER_NAME_FORMAT NameType,
   [Out] StringBuilder lpBuffer, ref uint lpnSize);

User-Defined Types:

COMPUTER_NAME_FORMAT

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation