Back to product page

MyHostname property


Holds hostname of local computer.

Type

A String value. Represents short name of local computer.

Syntax

  • Basic
object.MyHostname [= value]  
The MyHostname(object,value) syntax has these parts:
objectAn expression evaluating to an object of type wodSSHD.
valueA String value.

Remarks

Here you can find short name of local computer, as defined in your network settings. There will be no domain information because your computer can be known completely different on external network, depending on your dial-up settings, local network settings, etc..

Although you can write to this property - it will not change your network settings.

Platforms

Windows