AnsweredAssumed Answered

How to detect if a network proxy is being used?

Question asked by paul.haakma on Jul 29, 2015
Latest reply on Aug 10, 2015 by paul.haakma

Does anyone know how I might detect if a network is using a proxy or not? In our old .NET Windows Mobile application we used the following code to get through any proxy in place, and am wondering how to replicate this in QT.

 

WebClient web = new WebClient();

if (web.Proxy != null)

{

web.Proxy.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials;

}

 

Regards,

-Paul

Outcomes