Function winapi_util::sysinfo::get_computer_name
source ยท pub fn get_computer_name(kind: ComputerNameKind) -> Result<OsString>
Expand description
Retrieves a NetBIOS or DNS name associated with the local computer.
The names are established at system startup, when the system reads them from the registry.
This corresponds to calling GetComputerNameExW
.