For example, if (isInNet(host, dnsResolve(sampledomain), "255.255.248.0")) // .NET 2.0 will resolve proxy properly if (isInNet(host, sampledomain, "255.255.248.0")) // .NET 2.0 will not resolve proxy properly The current convention is to fail over to direct connection when a PAC file is unavailable.
if (isInNet(host, dnsResolve(sampledomain) , "255.255.248.0") // .NET 2.0 will resolve proxy properly if (isInNet(host, sampledomain, "255.255.248.0") // .NET 2.0 will not resolve proxy properly 当一个PAC文件不可用的时候，当前的缺省方法是使用直接链接。