EnumIpInfo( ) The KiXtart HTML Help (language reference) is developed, maintained and copyright by SL Corp.

Action: Enables enumeration of TCP/IP information of all network adapters of the local system.
 
Syntax: ENUMIPINFO (index, type, mode)
 
Parameters:

Index

A numeric value representing the IP information group you want to discover (where 0 is the first group).

Type

Optional parameter identifying the type of information you want to enumerate:
0     IP address
1     Subnet mask
2     Adapter description
3     Default gateway

Mode

0     Re-use cached information
1     Retrieve current IP information from the system

 

Remarks: This function is available on Windows XP, Windows 2000 and Windows 9x, but not on Windows NT. Furthermore, this function relies on a correct installation of the IP Helper API which is installed as part of Microsoft Internet Explorer 5.0 and higher. Note that there is a known issue with installing the required DLLs on Windows 9x. Full details on this issue can be found in knowledge base article Q234573.
 
 
Returns: A string representing the requested information.
 
Example:

$Result = EnumIPInfo()