Use control behind a proxy

Jul 30, 2009 at 8:02 AM
Edited Jul 30, 2009 at 8:03 AM

If it's possible add a property for use control with the default proxy

You can get del default proxy with
System.Net.WebRequest.DefaultWebProxy

and the default credential with
System.Net.CredentialCache.DefaultCredentials

Good work

Jul 30, 2009 at 8:18 AM

set to anything you want -> GMaps.Instance.Proxy

if its null it uses default proxy as you see belove:

 

request.Proxy = Proxy != null ? Proxy : WebRequest.DefaultWebProxy;

 

Aug 3, 2009 at 2:21 PM

It's work, if proxy it's not set the default proxy it's used

Thanks

 

 

Aug 3, 2009 at 2:23 PM

welcome ;}