|
|
|
|
NetListIPAddress (Function) In french: NetListeAdresseIP Returns the list of IP addresses (Internet Protocol) for a computer.
// 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: | | IPv4 | List of IPv4. addresses | IPv6 | List 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
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|