ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Net functions
  • Valid IP address
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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 Server name.
<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.
Business / UI classification: Business Logic
Component: wd290com.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

Last update: 05/26/2022

Send a report | Local help