pub struct NickName {}Implementations§
Source§impl NickName
impl NickName
Sourcepub fn get_w(&self) -> Result<String>
pub fn get_w(&self) -> Result<String>
computer name change only on windows reboot This is not show on settings This is show on %COMPUTERNAME% get NetBIOS name This is just like get_a
Sourcepub fn get_a(&self) -> Result<String>
pub fn get_a(&self) -> Result<String>
computer name change only on windows reboot This is not show on settings This is show on %COMPUTERNAME% get NetBIOS name This is just like get_w
Sourcepub fn get_hostname(&self) -> Result<String>
pub fn get_hostname(&self) -> Result<String>
computer name change only on windows reboot This is show on settings This is show on %COMPUTERNAME% DNS Host Name
Sourcepub fn get_hostname_non_official(&self) -> Result<String>
pub fn get_hostname_non_official(&self) -> Result<String>
computer name change only on windows reboot This is show on settings pc name This is show on %COMPUTERNAME% but not official fn
Sourcepub fn set_w<S: Into<String>>(&self, nickname: S) -> Result<()>
pub fn set_w<S: Into<String>>(&self, nickname: S) -> Result<()>
computer name change only on windows reboot This is not show on settings This is show on %COMPUTERNAME% set NetBIOS name This is just like set_a
Sourcepub fn set_a<S: Into<String>>(&self, nickname: S) -> Result<()>
pub fn set_a<S: Into<String>>(&self, nickname: S) -> Result<()>
computer name change only on windows reboot This is not show on settings This is show on %COMPUTERNAME% set NetBIOS name This is just like set_w