IPv6-Aware and Legacy WPAD helper functions

The following tables explain the differences between the new WPAD helper functions and the legacy WPAD helper functions. The new functions are marked with an asterisk.

Functions Input Output Reason for Change
dnsResolve Host IPv4 address Ex function will return a list of IPv6/IPv4. Necessary since IPv6 or IPv4 addresses can have multiple unicast addresses for a single interface.${REMOVE}$
dnsResolveEx* Host List of IPv6/IPv4 addresses

 

Functions Input Output Reason for Change
isResolveable IPv4 host TRUE / FALSE The Ex function will return TRUE if a host can resolve to an IPv6 or IPv4 address. The legacy function only returns TRUE if the host resolves to an IPv4 address.${REMOVE}$
isResolveableEx* IPv6/IPv4 host TRUE / FALSE

 

Functions Input Output Reason for Change
myIPAddress none IPv4 address Ex function will return a list of IPv6/IPv4. Necessary since IPv6 or IPv4 addresses can have multiple unicast addresses for a single interface ${REMOVE}$
myIPAddressEx* none List of IPv6/IPv4 addresses

 

Functions Input Output Reason for Change
isInNet Host, Dot separated IP address pattern, IP address Mask TRUE / FALSE Provide an IP version agnostic way to find if an IP address is in a given subnet. Also, the mask notation in IPv4 is deprecated.${REMOVE}$
isInNetEx* IP Address IP Prefix TRUE / FALSE

 

Functions Input Output Reason for Change
sortIPAddressList* List of IPv6/IPv4 addresses Sorted List of IPv6/IPv4 addresses There is no counterpart legacy function because legacy functions only returned a single IPv4 address, therefore there was no need to sort .

 

Functions Input Output Reason for Change
getClientVersion* none WPAD engine version number Currently this function returns version 1.0. We added this function to allow IT administrators to update their WPAD to work with different versions of the WPAD engine without causing breaks to their existent deployment.

 

Note

This functionality requires Windows Internet Explorer 7 or greater.