getcomputername (kernel32)
Last changed: dauth-202.166.147.204

.
Summary

C# Signature:

[DllImport("kernel32.dll")]
static extern bool GetComputerName([Out] StringBuilder lpBuffer,
   ref uint lpnSize);

User-Defined Types:

None.

Notes:

The GetComputerName function retrieves the NetBIOS name of the local computer. This name is established at system startup, when the system reads it from the registry.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation