using System; namespace System.Net { /// Contains a global default proxy instance for all HTTP requests. // Token: 0x02000225 RID: 549 [Obsolete("Use WebRequest.DefaultProxy instead")] public class GlobalProxySelection { /// Gets or sets the global HTTP proxy. /// An that every call to uses. /// The value specified for a set operation was null. /// The caller does not have permission for the requested operation. // Token: 0x17000630 RID: 1584 // (get) Token: 0x06001319 RID: 4889 RVA: 0x0003A450 File Offset: 0x00038650 // (set) Token: 0x0600131A RID: 4890 RVA: 0x0003A458 File Offset: 0x00038658 public static IWebProxy Select { get { return WebRequest.DefaultWebProxy; } set { WebRequest.DefaultWebProxy = value; } } /// Returns an empty proxy instance. /// An that contains no information. // Token: 0x0600131B RID: 4891 RVA: 0x0003A460 File Offset: 0x00038660 public static IWebProxy GetEmptyWebProxy() { return new GlobalProxySelection.EmptyWebProxy(); } // Token: 0x02000226 RID: 550 internal class EmptyWebProxy : IWebProxy { // Token: 0x0600131C RID: 4892 RVA: 0x0003A468 File Offset: 0x00038668 internal EmptyWebProxy() { } // Token: 0x17000631 RID: 1585 // (get) Token: 0x0600131D RID: 4893 RVA: 0x0003A470 File Offset: 0x00038670 // (set) Token: 0x0600131E RID: 4894 RVA: 0x0003A478 File Offset: 0x00038678 public ICredentials Credentials { get { return this.credentials; } set { this.credentials = value; } } // Token: 0x0600131F RID: 4895 RVA: 0x0003A484 File Offset: 0x00038684 public global::System.Uri GetProxy(global::System.Uri destination) { return destination; } // Token: 0x06001320 RID: 4896 RVA: 0x0003A488 File Offset: 0x00038688 public bool IsBypassed(global::System.Uri host) { return true; } // Token: 0x0400104A RID: 4170 private ICredentials credentials; } } }