-- Autogenerated by MSIL2Ada v. 2
-- By: Martin C. Carlisle
--     Department of Computer Science
--     US Air Force Academy
--     carlislem@acm.org
pragma Extensions_Allowed(On);
with MSSyst.Object;
with MSIL_Types;
use MSIL_Types;
with type MSSyst.Net.IWebProxy.Ref is access;
with type MSSyst.Object.Ref is access;
with type MSSyst.Uri.Ref is access;
with type MSSyst.Net.ICredentials.Ref is access;
with type MSSyst.Type_k.Ref is access;
with type MSSyst.String.Ref is access;
with MSSyst.Object;
package MSSyst.Net.WebProxy is
   type Typ;
   type Ref is access all Typ'Class;
   type Ref_addrof is access all Ref;
   type Ref_Arr is array(Natural range <>) of Ref;
   type Ref_Array is access all Ref_Arr;
   type Ref_Array_addrof is access all Ref_Array;
   type Typ(
         I_IWebProxy : MSSyst.Net.IWebProxy.Ref
      ) is new MSSyst.Object.Typ with record
      null;
   end record;
   function new_WebProxy(
      This : Ref := null) return Ref;
   function new_WebProxy(
      This : Ref := null;
      Address : MSSyst.Uri.Ref) return Ref;
   function new_WebProxy(
      This : Ref := null;
      Address : MSSyst.Uri.Ref;
      BypassOnLocal : Standard.Boolean) return Ref;
   function new_WebProxy(
      This : Ref := null;
      Host : MSSyst.String.Ref;
      Port : Integer) return Ref;
   function new_WebProxy(
      This : Ref := null;
      Address : MSSyst.String.Ref) return Ref;
   function new_WebProxy(
      This : Ref := null;
      Address : MSSyst.String.Ref;
      BypassOnLocal : Standard.Boolean) return Ref;
   function get_Address(
      This : access Typ) return MSSyst.Uri.Ref;
   function get_BypassProxyOnLocal(
      This : access Typ) return Standard.Boolean;
   function get_Credentials(
      This : access Typ) return MSSyst.Net.ICredentials.Ref;
   function GetDefaultProxy return MSSyst.Net.WebProxy.Ref;
   function GetProxy(
      This : access Typ;
      destination : MSSyst.Uri.Ref) return MSSyst.Uri.Ref;
   function IsBypassed(
      This : access Typ;
      host : MSSyst.Uri.Ref) return Standard.Boolean;
   procedure set_Address(
      This : access Typ;
      value : MSSyst.Uri.Ref);
   procedure set_BypassProxyOnLocal(
      This : access Typ;
      value : Standard.Boolean);
   procedure set_Credentials(
      This : access Typ;
      value : MSSyst.Net.ICredentials.Ref);
private
   pragma Convention(MSIL,Typ);
   pragma MSIL_Constructor(new_WebProxy);
   pragma Import(MSIL,get_Address,"get_Address");
   pragma Import(MSIL,get_BypassProxyOnLocal,"get_BypassProxyOnLocal");
   pragma Import(MSIL,get_Credentials,"get_Credentials");
   pragma Import(MSIL,GetDefaultProxy,"GetDefaultProxy");
   pragma Import(MSIL,GetProxy,"GetProxy");
   pragma Import(MSIL,IsBypassed,"IsBypassed");
   pragma Import(MSIL,set_Address,"set_Address");
   pragma Import(MSIL,set_BypassProxyOnLocal,"set_BypassProxyOnLocal");
   pragma Import(MSIL,set_Credentials,"set_Credentials");
end MSSyst.Net.WebProxy;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Net.WebProxy,
   ".ver 1:0:5000:0 .publickeytoken=( 96 9d b8 05 3d 33 22 ac )",
   "[System]System.Net.WebProxy");
