static IWebProxy GetProxy () { lock (lockobj) { if (proxy != null) return proxy; object p = ConfigurationSettings.GetConfig ("system.net/defaultProxy"); if (p == null) p = new EmptyWebProxy (); proxy = (IWebProxy) p; } return proxy; }
static IWebProxy GetProxy() { lock (lockobj) { if (proxy != null) { return(proxy); } object p = ConfigurationSettings.GetConfig("system.net/defaultProxy"); if (p == null) { p = new EmptyWebProxy(); } proxy = (IWebProxy)p; } return(proxy); }