PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Equivalence
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
NetListIPAddress (Function)
In french: NetListeAdresseIP
Returns the list of IP addresses (Internet Protocol) for a computer.
Example
// Displays the IP addresses of local computer
Info(NetListIPAddress())
Syntax
<Result> = NetListIPAddress([<Computer Name>] [, <Options>])
<Result>: Character string
List of IP addresses separated by CR characters (Carriage Return).
<Computer Name>: Optional character string
Name of computer for which the IP addresses will be listed. If this parameter is not specified, the list of IP addresses found on the local computer is returned.
<Options>: Optional Integer constant (or combination of constants)
Type of address to retrieve:
IPv4List of IPv4. addresses
IPv6List of IPv6. addresses

If this parameter is not specified, the list of IPv4 and IPv6 addresses is returned (combination of IPv6 + IPv4 constants).
Remarks

Equivalence

The following codes are equivalent:
Trace(NetListIPAddress(IPv4))
n is int = 0
WHILE NetIPAddress(n) <> ""
Trace(NetIPAddress(n))
n = n + 1
END
Business / GUI classification : Business Logic
Component : wd240com.dll
Minimum version required
  • Version 17
This page is also available for…
Comments
Video NetListIPAddress
https://youtu.be/G92yw-e_oVs

https://windevdesenvolvimento.blogspot.com/2019/03/dicas-2039-webdev-aula-33.html

// BTN_LISTA_IP_COMPUTADOR_NetListIPAddress

EDT_RESPOSTA=NetListIPAddress()
amarildo
09 Mar. 2019