ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Net functions
  • Equivalence
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
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 / UI classification: Business Logic
Component: wd270com.dll
Minimum version required
  • Version 17
This page is also available for…
Comments
Video NetListIPAddress
https://youtu.be/oOGusf6r8SM
https://windevdesenvolvimento.blogspot.com/2019/08/dicas-2265-windev-webdev-mobile-net-002.html
// btn_netlistipaddress
ListAdd(LIST_REDE,"----- IPV4-----")
ListAdd(LIST_REDE,NetListIPAddress(IPv4))
ListAdd(LIST_REDE,"----- IPV6-----")
ListAdd(LIST_REDE,NetListIPAddress(IPv6))
amarildo
31 Aug. 2019
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

Last update: 05/26/2022

Send a report | Local help