Hi I want to get the default system web proxy and display the resulting proxy address and port for http in a text box.
IWebProxy oProxy = System.Net.WebRequest.GetSystemWebProxy();
//to get default proxy settings
oProxy.Credentials = CredentialCache.DefaultNetworkCredentials;
Uri targetserver = new Uri("http://www.google.com/");
Uri proxyserver = oProxy.GetProxy(targetserver);
the above code in debug allows me to hover over proxysever and show all i need but i can't access the properties!
what am I missing?