Obtains the address of the machine.
1 system.server.getHostAddress
<system.server.getHostAddress />
Returns | |
---|---|
Type | Description |
string | Host address. |
Example
Obtain the IP f the PC.
Copy
<xsql-script name='system_server_getHostAddress_sample1'> <body> <println> <system.server.getHostAddress /> </println> </body> </xsql-script>
An example of returned value would be:
Copy
192.168.10.73