xtd 0.2.0
Loading...
Searching...
No Matches

◆ computer_name()

static xtd::ustring xtd::forms::system_information::computer_name ( )
static

Gets the NetBIOS computer name of the local computer.

Returns
The name of this computer.
Remarks
The ComputerName property retrieves the NetBIOS name of the local computer. This is accomplished with a call into the native System Information function GetComputerName. This name is established at system startup_, when the system reads it from the registry. If the local computer is a node in a cluster, ComputerName returns the name of the cluster virtual server.
You can use the computer_name method to determine the name of the computer that is displayed to other users on a network.