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.
Versions 24 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 24
iPhone/iPad This function is now available for the iPhone/iPad applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Example
// Displays the name of local computer
Info(NetMachineName())
Syntax
<Result> = NetMachineName([<IP Address>])
<Result>: Character string
Name of current computer.
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".
Component : wd240com.dll
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment