Does anyone have sample code using HttpWebRequest with a proxy? My code works fine on network with no proxy, but when i move to a proxied network it fails. I tried this:
var proxy = new System.Net.WebProxy("my.proxy.server", true); request.Proxy = (GHIElectronics.NETMF.Net.IWebProxy) proxy;
This code gets an invalid cast exception. Thoughts? Examples?