Proxy Authentication

Feb 13, 2009 at 11:09 AM
First of all, great project. I wrote something like it about 6 months ago as a proof of concept, doing offline tile serving etc...

reason for post... for proxy authentication do you think you should have: 

 

WebRequest.DefaultWebProxy.Credentials = System.Net.CredentialCache.DefaultCredentials;

 

instead of:

 

// set your proxy here if need

 

 

//GMaps.Instance.Proxy = new WebProxy("10.2.0.100", 8080);

 

 

//GMaps.Instance.Proxy.Credentials = new NetworkCredential("xxx@yyy.com", "wibble");

thanks again for a great app!

Feb 13, 2009 at 3:53 PM
i think it is default by default ;}
Feb 19, 2009 at 11:18 AM
...but if your behind a corperate firewall, you need to set this to pick up your proxy information / credentials ...or at least you do at the site I'm at right now.
Feb 19, 2009 at 6:43 PM
just set GMaps.Instance.Proxy, if its not null or default it is used in tile downloading or geocoding...