PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Valid IP address
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.
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.
Component : wd240com.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Video NetMachineName
https://youtu.be/ePCYefMDZ6o
https://windevdesenvolvimento.blogspot.com/2019/08/dicas-2266-windev-webdev-mobile.html

// BTN_NetMachineName
EDT_NOME_COMPUTADOR=NetMachineName(EDT_IP_COMPUTADOR)
amarildo
31 Aug. 2019