Is there any bettwer way than systemProxyForQuery() to findout is system behind proxy?
-
You could read the IE registry settings but they may not be configured evenif the system is behind a proxy.
Also not 100% safe would be a nslookup for an external domain. If you get an IP, you propably don't have a proxy. If not, chances are high that there is a proxy.
IMHO there is no reliable way to know if there is one and how to connect.At some point you must ask the user.