<Type Name="WebProxy" FullName="System.Net.WebProxy" FullNameSP="System_Net_WebProxy" Maintainer="ecma">
  <TypeSignature Language="ILASM" Value=".class public serializable WebProxy extends System.Object implements System.Net.IWebProxy" />
  <TypeSignature Language="C#" Value="public class WebProxy : IWebProxy" />
  <MemberOfLibrary>Networking</MemberOfLibrary>
  <AssemblyInfo>
    <AssemblyName>System</AssemblyName>
    <AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 ]</AssemblyPublicKey>
    <AssemblyVersion>1.0.x.x</AssemblyVersion>
    <AssemblyCulture>none</AssemblyCulture>
    <Attributes>
      <Attribute>
        <AttributeName>CLSCompliantAttribute(true)</AttributeName>
        <Excluded>0</Excluded>
      </Attribute>
    </Attributes>
  </AssemblyInfo>
  <ThreadingSafetyStatement>All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.</ThreadingSafetyStatement>
  <Docs>
    <summary>
      <para>Contains HTTP proxy settings for the <see cref="T:System.Net.WebRequest" /> class.</para>
    </summary>
    <remarks>
      <para>
        <see cref="T:System.Net.WebRequest" /> instances
   use <see cref="T:System.Net.WebProxy" /> instances to override the proxy settings in
<see cref="T:System.Net.GlobalProxySelection" /> . </para>
      <para>
        <block subset="none" type="note">Local requests are
   identified by the lack of a period (.) in the authority of the URI, as in "http://webserver/"
   versus "http://www.contoso.com/
   ".</block>
      </para>
    </remarks>
    <example>
      <para>The following example sets a <see cref="T:System.Net.WebProxy" /> for a
<see cref="T:System.Net.WebRequest" />. The <see cref="T:System.Net.WebRequest" /> instance uses the proxy to 
   connect to external Internet resources.</para>
      <code lang="C#">using System;
using System.Net;

public class WebProxyExample {

  public static void Main() {

    WebProxy proxyObject =
      new WebProxy("http://proxyserver:80/",true);
    WebRequest req =
      WebRequest.Create("http://www.contoso.com");
    req.Proxy = proxyObject;
  }
}
</code>
    </example>
  </Docs>
  <Base>
    <BaseTypeName>System.Object</BaseTypeName>
  </Base>
  <Interfaces>
    <Interface>
      <InterfaceName>System.Net.IWebProxy</InterfaceName>
      <Excluded>0</Excluded>
    </Interface>
  </Interfaces>
  <Members>
    <Member MemberName="IsBypassed">
      <MemberSignature Language="ILASM" Value=".method public final hidebysig virtual bool IsBypassed(class System.Uri host)" />
      <MemberSignature Language="C#" Value="public bool IsBypassed(Uri host);" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Parameters>
		<Parameter Name="host" Type="System.Uri" />
	</Parameters>
      <Docs>
        <summary>
          <para> Indicates whether a request will bypass the proxy server
      when accessing the resource represented by the specified URI.</para>
        </summary>
        <param name="host">A <see cref="T:System.Uri" /> containing the URI of the server to check. </param>
        <returns>
          <para>Returns <see langword="true" /> under any of the following conditions:</para>
          <list type="bullet">
            <item>
              <term>
      
      The <see cref="P:System.Net.WebProxy.BypassProxyOnLocal" /> property of the current instance is
   <see langword="true" /> and <paramref name="host " />is a local URI.</term>
            </item>
            <item>
              <term>
                <paramref name="host " />matches a regular expression in <see cref="P:System.Net.WebProxy.BypassList" />.</term>
            </item>
            <item>
              <term>
      
      The <see cref="P:System.Net.WebProxy.Address" /> of the current instance is
   <see langword="null" />.</term>
            </item>
          </list>
          <para>All other conditions return <see langword="false" />.</para>
        </returns>
        <exception cref="T:System.ArgumentException">The <see cref="P:System.Net.WebProxy.BypassList" /> of the current instance contains an invalid regular expression.</exception>
      </Docs>
      <Excluded>0</Excluded>
    </Member>
    <Member MemberName="GetProxy">
      <MemberSignature Language="ILASM" Value=".method public final hidebysig virtual class System.Uri GetProxy(class System.Uri destination)" />
      <MemberSignature Language="C#" Value="public Uri GetProxy(Uri destination);" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Uri</ReturnType>
      </ReturnValue>
      <Parameters>
		<Parameter Name="destination" Type="System.Uri" />
	</Parameters>
      <Docs>
        <summary>
          <para>Returns the URI of the server that is contacted for the specified resource.</para>
        </summary>
        <param name="destination">The <see cref="T:System.Uri" /> of the requested resource.</param>
        <returns>
          <para>If <paramref name="destination" /> is on the bypass list of the 
 current instance, returns <paramref name="destination" />; otherwise, returns the <see cref="P:System.Net.WebProxy.Address" /> of
 the current instance.</para>
        </returns>
        <remarks>
          <para>This
 method returns the URI that the <see cref="T:System.Net.WebRequest" /> uses to access the resource. <see cref="M:System.Net.WebProxy.GetProxy(System.Uri)" /> compares <paramref name="destination " /> with the contents
 of <see cref="P:System.Net.WebProxy.BypassList" /> using the <see cref="M:System.Net.WebProxy.IsBypassed(System.Uri)" /> method.</para>
        </remarks>
      </Docs>
      <Excluded>0</Excluded>
    </Member>
    <Member MemberName="GetDefaultProxy">
      <MemberSignature Language="ILASM" Value=".method public hidebysig static class System.Net.WebProxy GetDefaultProxy()" />
      <MemberSignature Language="C#" Value="public static WebProxy GetDefaultProxy();" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Net.WebProxy</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>
          <para>Returns a new <see cref="T:System.Net.WebProxy" /> instance that contains the default proxy settings of the system.</para>
        </summary>
        <returns>
          <para>A new <see cref="T:System.Net.WebProxy" />
instance that contains the default proxy settings of the
system.</para>
        </returns>
        <remarks>
          <para>The default proxy settings of the system are implementation-defined.</para>
        </remarks>
      </Docs>
      <Excluded>0</Excluded>
    </Member>
    <Member MemberName=".ctor">
      <MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor()" />
      <MemberSignature Language="C#" Value="public WebProxy();" />
      <MemberType>Constructor</MemberType>
      <ReturnValue />
      <Parameters />
      <Docs>
        <summary>
          <para>Constructs and initializes a new instance of the <see cref="T:System.Net.WebProxy" />
class.</para>
        </summary>
        <remarks>
          <para>This constructor initializes the properties of the new instance as
      follows.</para>
          <list type="table">
            <listheader>
              <term>Property</term>
              <description>Value</description>
            </listheader>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.Address" />
                </para>
              </term>
              <description>
                <see langword="null" />
              </description>
            </item>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.BypassArrayList" />
                </para>
              </term>
              <description> A new empty 
   <see cref="T:System.Collections.ArrayList" />.</description>
            </item>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.BypassList" />
                </para>
              </term>
              <description> 
      A
      new empty <see cref="T:System.String" />
      array. </description>
            </item>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.BypassProxyOnLocal" />
                </para>
              </term>
              <description>
                <see langword="false" />
              </description>
            </item>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.Credentials" />
                </para>
              </term>
              <description>
                <see langword="null" />
              </description>
            </item>
          </list>
        </remarks>
      </Docs>
      <Excluded>0</Excluded>
    </Member>
    <Member MemberName=".ctor">
      <MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor(class System.Uri Address)" />
      <MemberSignature Language="C#" Value="public WebProxy(Uri Address);" />
      <MemberType>Constructor</MemberType>
      <ReturnValue />
      <Parameters>
		<Parameter Name="Address" Type="System.Uri" />
	</Parameters>
      <Docs>
        <summary>
          <para>Constructs and initializes a new instance of the <see cref="T:System.Net.WebProxy" /> class using the specified <see cref="T:System.Uri" />
.</para>
        </summary>
        <param name="Address">A <see cref="T:System.Uri" /> containing the address of the proxy server.</param>
        <remarks>
          <para>This constructor initializes the properties of the new instance as
      follows.</para>
          <list type="table">
            <listheader>
              <term>Property</term>
              <description>Value</description>
            </listheader>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.Address" />
                </para>
              </term>
              <description>
                <paramref name="Address" />
              </description>
            </item>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.BypassArrayList" />
                </para>
              </term>
              <description> A new empty 
   <see cref="T:System.Collections.ArrayList" />.</description>
            </item>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.BypassList" />
                </para>
              </term>
              <description> 
      A
      new empty <see cref="T:System.String" />
      array. </description>
            </item>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.BypassProxyOnLocal" />
                </para>
              </term>
              <description>
                <see langword="false" />
              </description>
            </item>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.Credentials" />
                </para>
              </term>
              <description>
                <see langword="null" />
              </description>
            </item>
          </list>
        </remarks>
      </Docs>
      <Excluded>0</Excluded>
    </Member>
    <Member MemberName=".ctor">
      <MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor(class System.Uri Address, bool BypassOnLocal)" />
      <MemberSignature Language="C#" Value="public WebProxy(Uri Address, bool BypassOnLocal);" />
      <MemberType>Constructor</MemberType>
      <ReturnValue />
      <Parameters>
		<Parameter Name="Address" Type="System.Uri" />
		<Parameter Name="BypassOnLocal" Type="System.Boolean" />
	</Parameters>
      <Docs>
        <summary>
          <para>Constructs and initializes a new instance of the <see cref="T:System.Net.WebProxy" /> class using the specified <see cref="T:System.Uri" /> and specified bypass setting.</para>
        </summary>
        <param name="Address">A <see cref="T:System.Uri" /> containing the address of the proxy server.</param>
        <param name="BypassOnLocal">A <see cref="T:System.Boolean" /> that indicates whether or not to bypass the proxy for local connections. Specify <see langword="true" /> to bypass the proxy for local connections; otherwise, <see langword="false" />.</param>
        <remarks>
          <para>The properties of the new instance are initialized as detailed in the
      following table.</para>
          <list type="table">
            <listheader>
              <term>Property</term>
              <description>Value</description>
            </listheader>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.Address" />
                </para>
              </term>
              <description>
                <paramref name="Address" />
              </description>
            </item>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.BypassArrayList" />
                </para>
              </term>
              <description> A new empty 
   <see cref="T:System.Collections.ArrayList" />.</description>
            </item>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.BypassList" />
                </para>
              </term>
              <description> 
      A
      new empty <see cref="T:System.String" />
      array. </description>
            </item>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.BypassProxyOnLocal" />
                </para>
              </term>
              <description>
                <paramref name="BypassOnLocal" />
              </description>
            </item>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.Credentials" />
                </para>
              </term>
              <description>
                <see langword="null" />
              </description>
            </item>
          </list>
        </remarks>
      </Docs>
      <Excluded>0</Excluded>
    </Member>
    <Member MemberName=".ctor">
      <MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor(class System.Uri Address, bool BypassOnLocal, class System.String[] BypassList)" />
      <MemberSignature Language="C#" Value="public WebProxy(Uri Address, bool BypassOnLocal, string[] BypassList);" />
      <MemberType>Constructor</MemberType>
      <ReturnValue />
      <Parameters>
		<Parameter Name="Address" Type="System.Uri" />
		<Parameter Name="BypassOnLocal" Type="System.Boolean" />
		<Parameter Name="BypassList" Type="System.String[]" />
	</Parameters>
      <Docs>
        <summary>
          <para>Constructs a new instance of the <see cref="T:System.Net.WebProxy" /> class with the specified <see cref="T:System.Uri" /> , bypass setting,
   and list of URIs to bypass.</para>
        </summary>
        <param name="Address">A <see cref="T:System.Uri" /> containing the address of the proxy server.</param>
        <param name="BypassOnLocal">
          <para>A <see cref="T:System.Boolean" /> that indicates whether or not to bypass the proxy for local connections. Specify <see langword="true" /> to bypass the proxy for local connections; otherwise, <see langword="false" />.</para>
        </param>
        <param name="BypassList">A <see cref="T:System.String" /> array of regular expressions that describe the URIs that will not be accessed using the current instance. <block subset="none" type="note">For more information on the format of these regular expressions, see IETF RFC 2396, Appendix B.</block></param>
        <remarks>
          <para> This constructor initializes the properties of the new instance
      as follows.</para>
          <list type="table">
            <listheader>
              <term>Property</term>
              <description>Value</description>
            </listheader>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.Address" />
                </para>
              </term>
              <description>
                <paramref name="Address" />
              </description>
            </item>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.BypassArrayList" />
                </para>
              </term>
              <description> 
         A new <see cref="T:System.Collections.ArrayList" />
         constructed from <paramref name="BypassList" /> or, if <paramref name="BypassList" /> is
      <see langword="null" />, a new 
         empty <see cref="T:System.Collections.ArrayList" />.</description>
            </item>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.BypassList" />
                </para>
              </term>
              <description>
                <paramref name="BypassList" /> or, if <paramref name="BypassList" /> is 
   <see langword="null" />, a new empty <see cref="T:System.String" /> array.</description>
            </item>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.BypassProxyOnLocal" />
                </para>
              </term>
              <description>
                <paramref name="BypassOnLocal" />
              </description>
            </item>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.Credentials" />
                </para>
              </term>
              <description>
                <see langword="null" />
              </description>
            </item>
          </list>
        </remarks>
      </Docs>
      <Excluded>0</Excluded>
    </Member>
    <Member MemberName=".ctor">
      <MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor(class System.Uri Address, bool BypassOnLocal, class System.String[] BypassList, class System.Net.ICredentials Credentials)" />
      <MemberSignature Language="C#" Value="public WebProxy(Uri Address, bool BypassOnLocal, string[] BypassList, ICredentials Credentials);" />
      <MemberType>Constructor</MemberType>
      <ReturnValue />
      <Parameters>
		<Parameter Name="Address" Type="System.Uri" />
		<Parameter Name="BypassOnLocal" Type="System.Boolean" />
		<Parameter Name="BypassList" Type="System.String[]" />
		<Parameter Name="Credentials" Type="System.Net.ICredentials" />
	</Parameters>
      <Docs>
        <summary>
          <para>Constructs and initializes a new instance of the <see cref="T:System.Net.WebProxy" /> class with the specified <see cref="T:System.Uri" /> , bypass setting, list of URIs to bypass, and credentials.</para>
        </summary>
        <param name="Address">A <see cref="T:System.Uri" /> containing the address of the proxy server.</param>
        <param name="BypassOnLocal">
          <para>A <see cref="T:System.Boolean" /> that indicates whether or not to bypass the proxy for local connections. Specify <see langword="true" /> to bypass the proxy for local connections; otherwise, <see langword="false" />.</para>
        </param>
        <param name="BypassList">A <see cref="T:System.String" /> array of regular expressions that describe the URIs that will not be accessed using the current instance. <block subset="none" type="note">For more information on the format of these regular expressions, see IETF RFC 2396, Appendix B.</block></param>
        <param name=" Credentials">A <see cref="T:System.Net.ICredentials" /> object to submit to the proxy server for client authentication.</param>
        <remarks>
          <para> This constructor initializes the properties of the new instance
      as follows.</para>
          <list type="table">
            <listheader>
              <term>Property</term>
              <description>Value</description>
            </listheader>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.Address" />
                </para>
              </term>
              <description>
                <paramref name="Address" />
              </description>
            </item>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.BypassArrayList" />
                </para>
              </term>
              <description> 
         A new <see cref="T:System.Collections.ArrayList" />
         constructed from <paramref name="BypassList" /> or, if <paramref name="BypassList" /> is
      <see langword="null" />, a new 
         empty <see cref="T:System.Collections.ArrayList" />.</description>
            </item>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.BypassList" />
                </para>
              </term>
              <description>
                <paramref name="BypassList" /> or, if <paramref name="BypassList" /> is 
   <see langword="null" />, a new empty <see cref="T:System.String" /> array.</description>
            </item>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.BypassProxyOnLocal" />
                </para>
              </term>
              <description>
                <paramref name="BypassOnLocal" />
              </description>
            </item>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.Credentials" />
                </para>
              </term>
              <description>
                <paramref name="Credentials" />
              </description>
            </item>
          </list>
        </remarks>
      </Docs>
      <Excluded>0</Excluded>
    </Member>
    <Member MemberName=".ctor">
      <MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor(string Host, int32 Port)" />
      <MemberSignature Language="C#" Value="public WebProxy(string Host, int Port);" />
      <MemberType>Constructor</MemberType>
      <ReturnValue />
      <Parameters>
		<Parameter Name="Host" Type="System.String" />
		<Parameter Name="Port" Type="System.Int32" />
	</Parameters>
      <Docs>
        <summary>
          <para>Constructs and initializes a new instance of the <see cref="T:System.Net.WebProxy" /> class with
   the specified host and port number.</para>
        </summary>
        <param name="Host">A <see cref="T:System.String" /> containing the name of the proxy server.</param>
        <param name=" Port">A <see cref="T:System.Int32" /> that contains the port number to use when accessing <paramref name="Host" /> .</param>
        <exception cref="T:System.UriFormatException">The URI formed by combining <paramref name="Host" /> and <paramref name="Port" /> is not in a valid URI format.</exception>
        <remarks>
          <para> This constructor initializes the properties of the new instance
      as follows.</para>
          <list type="table">
            <listheader>
              <term>Property</term>
              <description>Value</description>
            </listheader>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.Address" />
                </para>
              </term>
              <description>A new <see cref="T:System.Uri" /> 
   constructed from "http://<paramref name="Host" />:<paramref name="Port" />".</description>
            </item>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.BypassArrayList" />
                </para>
              </term>
              <description> A new empty 
   <see cref="T:System.Collections.ArrayList" />.</description>
            </item>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.BypassList" />
                </para>
              </term>
              <description> 
      A
      new empty <see cref="T:System.String" />
      array. </description>
            </item>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.BypassProxyOnLocal" />
                </para>
              </term>
              <description>
                <see langword="false" />
              </description>
            </item>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.Credentials" />
                </para>
              </term>
              <description>
                <see langword="null" />
              </description>
            </item>
          </list>
        </remarks>
      </Docs>
      <Excluded>0</Excluded>
    </Member>
    <Member MemberName=".ctor">
      <MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor(string Address)" />
      <MemberSignature Language="C#" Value="public WebProxy(string Address);" />
      <MemberType>Constructor</MemberType>
      <ReturnValue />
      <Parameters>
		<Parameter Name="Address" Type="System.String" />
	</Parameters>
      <Docs>
        <summary>
          <para>Constructs and initializes a new instance of the <see cref="T:System.Net.WebProxy" /> class with the specified URI. </para>
        </summary>
        <param name="Address">A <see cref="T:System.String" /> containing the URI of the proxy server.</param>
        <exception cref="T:System.UriFormatException">
          <paramref name="Address " />is not <see langword="null" /> and not in a valid URI format.</exception>
        <remarks>
          <para> This constructor initializes the properties of the new instance
      as follows.</para>
          <list type="table">
            <listheader>
              <term>Property</term>
              <description>Value</description>
            </listheader>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.Address" />
                </para>
              </term>
              <description>A new
         <see cref="T:System.Uri" /> constructed from <paramref name="Address" /> or, if <paramref name="Address" /> does not contain "://", constructed from "http://<paramref name="Address" />". If <paramref name="Address" /> is <see langword="null" />,
            this property is set to <see langword="null" />.</description>
            </item>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.BypassArrayList" />
                </para>
              </term>
              <description> A new empty 
         <see cref="T:System.Collections.ArrayList" />.</description>
            </item>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.BypassList" />
                </para>
              </term>
              <description> 
            A
            new empty <see cref="T:System.String" />
            array. </description>
            </item>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.BypassProxyOnLocal" />
                </para>
              </term>
              <description>
                <see langword="false" />
              </description>
            </item>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.Credentials" />
                </para>
              </term>
              <description>
                <see langword="null" />
              </description>
            </item>
          </list>
        </remarks>
      </Docs>
      <Excluded>0</Excluded>
    </Member>
    <Member MemberName=".ctor">
      <MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor(string Address, bool BypassOnLocal)" />
      <MemberSignature Language="C#" Value="public WebProxy(string Address, bool BypassOnLocal);" />
      <MemberType>Constructor</MemberType>
      <ReturnValue />
      <Parameters>
		<Parameter Name="Address" Type="System.String" />
		<Parameter Name="BypassOnLocal" Type="System.Boolean" />
	</Parameters>
      <Docs>
        <summary>
          <para>Constructs and initializes a new instance of the <see cref="T:System.Net.WebProxy" /> class with the specified URI and bypass setting.</para>
        </summary>
        <param name="Address">A <see cref="T:System.String" /> that represents the URI of the proxy server. </param>
        <param name="BypassOnLocal">
          <para>A <see cref="T:System.Boolean" /> that indicates whether or not to bypass the proxy for local connections. Specify <see langword="true" /> to bypass the proxy for local connections; otherwise, <see langword="false" />.</para>
        </param>
        <exception cref="T:System.UriFormatException">
          <para>
            <paramref name="Address " />is not in a valid URI format.</para>
        </exception>
        <remarks>
          <para> This constructor initializes the properties of the new instance
      as follows.</para>
          <list type="table">
            <listheader>
              <term>Property</term>
              <description>Value</description>
            </listheader>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.Address" />
                </para>
              </term>
              <description>A new
         <see cref="T:System.Uri" /> constructed from <paramref name="Address" /> or, if <paramref name="Address" /> does not contain "://", constructed from "http://<paramref name="Address" />".
            If <paramref name="Address" /> is <see langword="null" />,
            this property is set to <see langword="null" />.</description>
            </item>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.BypassArrayList" />
                </para>
              </term>
              <description> A new empty 
         <see cref="T:System.Collections.ArrayList" />.</description>
            </item>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.BypassList" />
                </para>
              </term>
              <description> 
            A
            new empty <see cref="T:System.String" />
            array. </description>
            </item>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.BypassProxyOnLocal" />
                </para>
              </term>
              <description>
                <paramref name="BypassOnLocal" />
              </description>
            </item>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.Credentials" />
                </para>
              </term>
              <description>
                <see langword="null" />
              </description>
            </item>
          </list>
        </remarks>
      </Docs>
      <Excluded>0</Excluded>
    </Member>
    <Member MemberName=".ctor">
      <MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor(string Address, bool BypassOnLocal, class System.String[] BypassList)" />
      <MemberSignature Language="C#" Value="public WebProxy(string Address, bool BypassOnLocal, string[] BypassList);" />
      <MemberType>Constructor</MemberType>
      <ReturnValue />
      <Parameters>
		<Parameter Name="Address" Type="System.String" />
		<Parameter Name="BypassOnLocal" Type="System.Boolean" />
		<Parameter Name="BypassList" Type="System.String[]" />
	</Parameters>
      <Docs>
        <summary>
          <para>Constructs and initializes a new instance of the <see cref="T:System.Net.WebProxy" /> class with the specified URI, bypass setting, and list of URIs to bypass.</para>
        </summary>
        <param name="Address">A <see cref="T:System.String" /> that represents the URI of the proxy server. </param>
        <param name="BypassOnLocal">
          <para>A <see cref="T:System.Boolean" /> that indicates whether or not to bypass the proxy for local connections. Specify <see langword="true" /> to bypass the proxy for local connections; otherwise, <see langword="false" />.</para>
        </param>
        <param name="BypassList">A <see cref="T:System.String" /> array of regular expressions that describe the URIs that will not be accessed using the current instance. <block subset="none" type="note">For more information on the format of these regular expressions, see IETF RFC 2396, Appendix B.</block></param>
        <exception cref="T:System.UriFormatException">
          <para>
            <paramref name="Address " />is not in a valid URI format.</para>
        </exception>
        <remarks>
          <para> This constructor initializes the properties of the new instance
      as follows.</para>
          <list type="table">
            <listheader>
              <term>Property</term>
              <description>Value</description>
            </listheader>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.Address" />
                </para>
              </term>
              <description>A new
         <see cref="T:System.Uri" /> constructed from <paramref name="Address" /> or, if <paramref name="Address" /> does not contain "://", constructed from "http://<paramref name="Address" />". If <paramref name="Address" /> is <see langword="null" />,
            this property is set to <see langword="null" />.</description>
            </item>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.BypassArrayList" />
                </para>
              </term>
              <description> 
            A new <see cref="T:System.Collections.ArrayList" />
            constructed from <paramref name="BypassList" /> or, if <paramref name="BypassList" /> is
         <see langword="null" />, a new 
            empty <see cref="T:System.Collections.ArrayList" />.</description>
            </item>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.BypassList" />
                </para>
              </term>
              <description>
                <paramref name="BypassList" /> or, if <paramref name="BypassList" /> is 
      <see langword="null" />, a new empty <see cref="T:System.String" /> array.</description>
            </item>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.BypassProxyOnLocal" />
                </para>
              </term>
              <description>
                <paramref name="BypassOnLocal" />
              </description>
            </item>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.Credentials" />
                </para>
              </term>
              <description>
                <see langword="null" />
              </description>
            </item>
          </list>
        </remarks>
      </Docs>
      <Excluded>0</Excluded>
    </Member>
    <Member MemberName=".ctor">
      <MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor(string Address, bool BypassOnLocal, class System.String[] BypassList, class System.Net.ICredentials Credentials)" />
      <MemberSignature Language="C#" Value="public WebProxy(string Address, bool BypassOnLocal, string[] BypassList, ICredentials Credentials);" />
      <MemberType>Constructor</MemberType>
      <ReturnValue />
      <Parameters>
		<Parameter Name="Address" Type="System.String" />
		<Parameter Name="BypassOnLocal" Type="System.Boolean" />
		<Parameter Name="BypassList" Type="System.String[]" />
		<Parameter Name="Credentials" Type="System.Net.ICredentials" />
	</Parameters>
      <Docs>
        <summary>
          <para>Constructs and initializes a new instance of the <see cref="T:System.Net.WebProxy" /> class with the specified URI, bypass setting, list of URIs to bypass, and credentials.</para>
        </summary>
        <param name="Address">A <see cref="T:System.String" /> that represents the URI of the proxy server. </param>
        <param name="BypassOnLocal">
          <para>A <see cref="T:System.Boolean" /> that indicates whether or not to bypass the proxy for local connections. Specify <see langword="true" /> to bypass the proxy for local connections; otherwise, <see langword="false" />.</para>
        </param>
        <param name="BypassList">A <see cref="T:System.String" /> array of regular expressions that describe the URIs that will not be accessed using the current instance. <block subset="none" type="note">For more information on the format of these regular expressions, see IETF RFC 2396, Appendix B.</block></param>
        <param name="Credentials">A <see cref="T:System.Net.ICredentials" /> object to submit to the proxy server for client authentication. </param>
        <exception cref="T:System.UriFormatException">
          <para>
            <paramref name="Address " />is not in a valid URI format.</para>
        </exception>
        <remarks>
          <para> This constructor initializes the properties of the new instance
      as follows.</para>
          <list type="table">
            <listheader>
              <term>Property</term>
              <description>Value</description>
            </listheader>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.Address" />
                </para>
              </term>
              <description>A new
         <see cref="T:System.Uri" /> constructed from <paramref name="Address" /> or, if <paramref name="Address" /> does not contain "://", constructed from "http://<paramref name="Address" />". If <paramref name="Address" /> is <see langword="null" />,
            this property is set to <see langword="null" />.</description>
            </item>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.BypassArrayList" />
                </para>
              </term>
              <description> 
            A new <see cref="T:System.Collections.ArrayList" />
            constructed from <paramref name="BypassList" /> or, if <paramref name="BypassList" /> is
         <see langword="null" />, a new 
            empty <see cref="T:System.Collections.ArrayList" />.</description>
            </item>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.BypassList" />
                </para>
              </term>
              <description>
                <paramref name="BypassList" /> or, if <paramref name="BypassList" /> is 
      <see langword="null" />, a new empty <see cref="T:System.String" /> array.</description>
            </item>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.BypassProxyOnLocal" />
                </para>
              </term>
              <description>
                <paramref name="BypassOnLocal" />
              </description>
            </item>
            <item>
              <term>
                <para>
                  <see cref="P:System.Net.WebProxy.Credentials" />
                </para>
              </term>
              <description>
                <paramref name="Credentials" />
              </description>
            </item>
          </list>
        </remarks>
      </Docs>
      <Excluded>0</Excluded>
    </Member>
    <Member MemberName="Address">
      <MemberSignature Language="ILASM" Value=".property class System.Uri Address { public hidebysig specialname instance class System.Uri get_Address() public hidebysig specialname instance void set_Address(class System.Uri value) }" />
      <MemberSignature Language="C#" Value="public Uri Address { get; set; }" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.Uri</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>
          <para>Gets or sets the address of the proxy server represented by the current instance.</para>
        </summary>
        <value>
          <para>A <see cref="T:System.Uri" /> containing the 
 address of the proxy server represented by the current instance.</para>
        </value>
        <remarks>
          <block subset="none" type="note">
            <para> 
 When <see cref="P:System.Net.WebProxy.Address" /> is <see langword="null" /> , all requests that reference the current
 instance bypass the proxy and connect directly to the destination host. </para>
            <para>For additional information, see <see cref="P:System.Net.WebRequest.Proxy" />.</para>
          </block>
        </remarks>
      </Docs>
      <Excluded>0</Excluded>
    </Member>
    <Member MemberName="BypassProxyOnLocal">
      <MemberSignature Language="ILASM" Value=".property bool BypassProxyOnLocal { public hidebysig specialname instance bool get_BypassProxyOnLocal() public hidebysig specialname instance void set_BypassProxyOnLocal(bool value) }" />
      <MemberSignature Language="C#" Value="public bool BypassProxyOnLocal { get; set; }" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>
          <para> Gets or sets a <see cref="T:System.Boolean" /> value indicating whether requests
   for local resources bypass the proxy server.</para>
        </summary>
        <value>
          <para>
            <see langword="true " />to bypass the proxy server for local resources;
   otherwise, <see langword="false" />. The default value is
<see langword="false" />.</para>
        </value>
        <remarks>
          <para>The setting of this property
      determines whether <see cref="T:System.Net.WebRequest" /> instances use the
      proxy server when accessing local resources. If <see cref="P:System.Net.WebProxy.BypassProxyOnLocal" /> is <see langword="true" /> , requests
      to local resources do not use the proxy server. Local resources are
      identified by the lack of a period (.) in the URI, as in "http://webserver/". When <see cref="P:System.Net.WebProxy.BypassProxyOnLocal" /> is
   <see langword="false" /> , all
      requests for resources are made through the proxy server. </para>
          <para>
            <block subset="none" type="note">If a request for a
      resource residing on a local machine is made using a URI that contains a period,
      the proxy is used to send the request. Create an entity in
      the <see cref="P:System.Net.WebProxy.BypassList" /> to access local resources directly.</block>
          </para>
        </remarks>
      </Docs>
      <Excluded>0</Excluded>
    </Member>
    <Member MemberName="BypassList">
      <MemberSignature Language="ILASM" Value=".property class System.String[] BypassList { public hidebysig specialname instance class System.String[] get_BypassList() public hidebysig specialname instance void set_BypassList(class System.String[] value) }" />
      <MemberSignature Language="C#" Value="public string[] BypassList { get; set; }" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.String[]</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>
          <para>Gets or sets an array of the URIs that do not use the proxy server.</para>
        </summary>
        <value>
          <para>A <see cref="T:System.Array" /> of <see cref="T:System.String" /> instances. The elements of the array represent URIs that
   a <see cref="T:System.Net.WebRequest" />
   instance accesses directly instead of through the
   proxy server. </para>
        </value>
        <remarks>
          <para>This property is equivalent to <see cref="P:System.Net.WebProxy.BypassArrayList" />.<see langword="ToArray" />(<see langword="typeof" />(<see cref="T:System.String" />)).</para>
        </remarks>
      </Docs>
      <Excluded>0</Excluded>
    </Member>
    <Member MemberName="Credentials">
      <MemberSignature Language="ILASM" Value=".property class System.Net.ICredentials Credentials { public final hidebysig virtual specialname class System.Net.ICredentials get_Credentials() public final hidebysig virtual specialname void set_Credentials(class System.Net.ICredentials value) }" />
      <MemberSignature Language="C#" Value="public ICredentials Credentials { get; set; }" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.Net.ICredentials</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>
          <para>Gets or sets the credentials to submit to the proxy server
 for authentication.</para>
        </summary>
        <value>
          <para> A <see cref="T:System.Net.ICredentials" /> object
 containing the credentials to submit to the proxy server
 for authentication.</para>
        </value>
        <remarks>
          <para>This property contains the authentication
 credentials to send to the proxy server in response to an HTTP 407 (proxy authorization)
 status code.</para>
          <para>
            <block subset="none" type="note">For more information regarding HTTP 
 status code 407, see <see cref="F:System.Net.HttpStatusCode.ProxyAuthenticationRequired" />.</block>
          </para>
        </remarks>
      </Docs>
      <Excluded>0</Excluded>
    </Member>
    <Member MemberName="BypassArrayList">
      <MemberSignature Language="ILASM" Value=".property class System.Collections.ArrayList BypassArrayList { public hidebysig specialname instance class System.Collections.ArrayList get_BypassArrayList() }" />
      <MemberSignature Language="C#" Value="public ArrayList BypassArrayList { get; }" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.Collections.ArrayList</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>
          <para> Gets a list of the URIs that do not use the proxy server.</para>
        </summary>
        <value>
          <para> A <see cref="T:System.Collections.ArrayList" /> of
<see cref="T:System.String" /> instances. The elements of 
   the list represent the URIs that a <see cref="T:System.Net.WebRequest" />
   instance accesses directly instead of through the proxy server.</para>
        </value>
        <remarks>
          <para>This property is read-only.</para>
        </remarks>
      </Docs>
      <Excluded>0</Excluded>
    </Member>
  <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="protected WebProxy(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext)" />
      <MemberType>Constructor</MemberType>
      <Parameters>
        <Parameter Name="serializationInfo" Type="System.Runtime.Serialization.SerializationInfo" />
        <Parameter Name="streamingContext" Type="System.Runtime.Serialization.StreamingContext" />
      </Parameters>
      <Docs>
        <summary>To be added.</summary>
        <param name="serializationInfo">To be added.</param>
        <param name="streamingContext">To be added.</param>
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
  </Members>
  <TypeExcluded>0</TypeExcluded>
</Type>
