Export (0) Print
Expand All

Differences Between IPv6-Aware WPAD Helper Functions 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.

FunctionsInputOutputReason for Change
dnsResolveHostIPv4 addressEx function will return a list of IPv6/IPv4. Necessary since IPv6 or IPv4 addresses can have multiple unicast addresses for a single interface.
dnsResolveEx*HostList of IPv6/IPv4 addresses

 

FunctionsInputOutputReason for Change
isResolveableIPv4 hostTRUE / FALSEThe 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.
isResolveableEx*IPv6/IPv4 hostTRUE / FALSE

 

FunctionsInputOutputReason for Change
myIPAddressnoneIPv4 addressEx function will return a list of IPv6/IPv4. Necessary since IPv6 or IPv4 addresses can have multiple unicast addresses for a single interface
myIPAddressEx*noneList of IPv6/IPv4 addresses

 

FunctionsInputOutputReason for Change
isInNetHost, Dot separated IP address pattern, IP address MaskTRUE / FALSEProvide an IP version agnostic way to find if an IP address is in a given subnet. Also, the mask notation in IPv4 is deprecated.
isInNetEx*IP Address IP PrefixTRUE / FALSE

 

FunctionsInputOutputReason for Change
sortIPAddressList*List of IPv6/IPv4 addressesSorted List of IPv6/IPv4 addressesThere is no counterpart legacy function because legacy functions only returned a single IPv4 address, therefore there was no need to sort .

 

FunctionsInputOutputReason for Change
getClientVersion*noneWPAD 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.

 

 

Community Additions

ADD
Show:
© 2014 Microsoft