im using idHttp to get a file from the internet. Im using proxy server... so, i have to request from proxy address before I send the get request.
here is my code :
IdHTTP1.Request.ProxyServer := ProxyAddress;
IdHttp1.Request.ProxyPort := ProxyPort;
HTMLContent := IdHTTP1.Get(IEAddress);
my question is, can I detect the proxy address and the port automatically at the run time ? so that the user doest need to key in the address and the port number ?