AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Comunicación / Funciones Net
  • 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.
New in version 2024
In an error occurs, the ErrorOccurred variable is set to True and ErrorInfo returns the details of the error.
<IP address>: Optional character string
IP address (in XXX.XXX.XXX.XXX format) of the computer whose name you want to get. 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
Versión mínima requerida
  • Versión 9
Comentarios
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 08 2019

Última modificación: 11/04/2024

Señalar un error o enviar una sugerencia | Ayuda local