Use control behind a proxy

Jul 30, 2009 at 7:02 AM
Edited Jul 30, 2009 at 7: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

Coordinator
Jul 30, 2009 at 7: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 1:21 PM

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

Thanks

 

 

Coordinator
Aug 3, 2009 at 1:23 PM

welcome ;}