PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Valid IP address
  • Computer name in Windows Mobile
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Returns the name of the local computer or the name of a computer whose IP address is known (reverse DNS resolution).
WEBDEV - Server code Returns the name of server.
Example
// Displays the name of local computer
Info(NetMachineName())
Syntax
<Result> = NetMachineName([<IP Address>])
<Result>: Character string
Name of current computer. This name can be used in NetIPAddress. For example:
NetIPAddress(NetMachineName())
WEBDEV - Server code Name of server.
<IP Address>: Optional character string
IP address (in XXX.XXX.XXX.XXX format) of the computer whose name is requested. If this parameter is not specified, the name of the current computer is returned. This address must be a valid address.
Remarks

Valid IP address

To check whether an IP address is valid, use Ping.
Windows Mobile

Computer name in Windows Mobile

In order for NetMachineName to operate properly from a Mobile equipped with a network card, a specific configuration is required:
  • Configuration of ActiveSync: you must set "This computer is connected to: Office network".
  • Configuration of the Mobile: select "Start .. Parameters .. Connections .. Advanced .. Select networks" and choose "Office network".
Components
WINDEVWEBDEV - Server codeReports and Queries wd230com.dll
Linux wd230com.so
Windows Mobile wp230com.dll
Java wd230java.jar
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment