Windows WinINet (desktop apps, .NET, Java)
Used by: apps using WinINet, .NET Framework, .NET, Java.
Windows WinINet (desktop apps, .NET, Java) runs PAC files in the same script engine as Windows WinHTTP (system services, BITS). This page lists only the behaviour that differs from it, or that was not measured here; everything else is the same. The table what WinHTTP and WinINet share and where they differ compares the two.
Helper library
Emulated helper library (CC0-1.0).
Where it differs from Windows WinHTTP (system services, BITS)
Windows 11 WinINet
| Behaviour | Value | Source |
|---|---|---|
| DNS lookups | sync | lab, verified 2026-10-16 |
| International host names passed in punycode (xn--) | true | lab, verified 2026-10-15 |
| IPv6 address keeps its letter case | true | lab, verified 2026-10-15 |
| Host lower-cased by the engine | true | lab, verified 2026-10-15 |
| Answer reused per host | per_host | lab, verified 2026-10-16 |
| URL passed to FindProxyForURL | https_to_origin | lab, verified 2026-10-15 |
Function availability
| Function | chromium | chromium | firefox | pacparser | pacparser | winhttp | wininet | reference |
|---|---|---|---|---|---|---|---|---|
isPlainHostName | yes | yes | yes | yes | yes | yes | yes | yes |
dnsDomainIs | yes | yes | yes | yes | yes | yes | yes | yes |
localHostOrDomainIs | yes | yes | yes | yes | yes | yes | yes | yes |
isResolvable | yes | yes | yes | yes | yes | yes | yes | yes |
isInNet | yes | yes | yes | yes | yes | yes | yes | yes |
dnsResolve | yes | yes | yes | yes | yes | yes | yes | yes |
myIpAddress | yes | yes | yes | yes | yes | yes | yes | yes |
dnsDomainLevels | yes | yes | yes | yes | yes | yes | yes | yes |
shExpMatch | yes | yes | yes | yes | yes | yes | yes | yes |
weekdayRange | yes | yes | yes | yes | yes | yes | yes | yes |
dateRange | yes | yes | yes | yes | yes | yes | yes | yes |
timeRange | yes | yes | yes | yes | yes | yes | yes | yes |
alert | yes | yes | yes | no | yes | yes | yes | yes |
dnsResolveEx | yes | yes | no | yes | yes | yes | yes | no |
myIpAddressEx | yes | yes | no | yes | yes | yes | yes | no |
isResolvableEx | yes | yes | no | yes | yes | yes | yes | no |
isInNetEx | yes | yes | no | yes | yes | yes | yes | no |
sortIpAddressList | yes | yes | no | no | no | yes | yes | no |
Rules with notes for wininet
- PAC-C001Hostname pattern applied to url instead of host
WinINet and .NET programs passed http URLs with the path; Java and some Windows system components passed http URLs without it. lab, verified 2026-10-11
- PAC-C011Very short or trailing-dot dnsDomainIs pattern
A trailing dot is kept in host and url, in a direct proxy query and in real requests of a WinINet program; dnsDomainIs(host, ".example.test") is false. lab, verified 2026-10-15
- PAC-C012IPv4 loopback/private ranges handled, IPv6 equivalents not
Desktop programs that use WinINet pass an IPv6 address in brackets and with its letters as written ([FD00::A1] stays [FD00::A1]), although they lower-case ordinary host names. lab, verified 2026-10-15
- PAC-C018Upper-case letters in a hostname pattern
Programs using WinINet, .NET Framework, .NET 8 and Java passed the host lower-cased, and the host part of url too; the path keeps its case. An IPv6 address keeps its letters ([FD00::A1] stays [FD00::A1]). lab, verified 2026-10-15
- PAC-E014Non-ASCII characters in code
An internationalised host arrives in lower-case punycode, in host and in url, also with capitals in the other labels; measured both with a direct proxy query and with real requests of a WinINet program. lab, verified 2026-10-15
- PAC-K006HTTPS proxy keyword without a PROXY fallback
A desktop program's own request goes to the HTTPS proxy over TLS with the request inside. When TLS to that proxy fails (wrong certificate name, or a port without TLS), the request goes on to the next PROXY entry of the list. lab, verified 2026-10-15
- PAC-K009Case-sensitive host comparisons without lower-casing host
Programs using WinINet, .NET Framework, .NET 8 and Java passed the host lower-cased, and the host part of url too; the path keeps its case. An IPv6 address keeps its letters ([FD00::A1] stays [FD00::A1]). lab, verified 2026-10-15
- PAC-K013Routing decided by myIpAddress()
The same answers as WinHTTP in every setup measured (first adapter in Windows' order, by interface metric). lab, verified 2026-10-14
- PAC-K020JavaScript syntax newer than ES2017 (?., ??, object spread)
Same script engine as Windows (WinHTTP); the same syntax fails to load. lab, verified 2026-10-11
- PAC-K021Decision depends on the URL path or query
Programs that use the Windows proxy settings reuse the answer for the first http request to a host for later http requests to that host, also with another path or port; https URLs reach the script as https://host:port/. lab, verified 2026-10-15