-- 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.ComponentModel.IComponent.Ref is access;
with type MSSyst.IDisposable.Ref is access;
with type MSSyst.EventHandler.Ref is access;
with type MSSyst.Runtime.Remoting.ObjRef.Ref is access;
with type MSSyst.Type_k.Ref is access;
with type MSSyst.String.Ref is access;
with type MSSyst.Object.Ref is access;
with type MSSyst.ComponentModel.IContainer.Ref is access;
with type MSSyst.Net.ICredentials.Ref is access;
with type MSSyst.Net.WebHeaderCollection.Ref is access;
with type MSSyst.Collections.Specialized.NameValueCollection.Ref is access;
with type MSSyst.ComponentModel.ISite.Ref is access;
with type MSSyst.IO.Stream.Ref is access;
with MSSyst.ComponentModel.Component;
package MSSyst.Net.WebClient 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_IComponent : MSSyst.ComponentModel.IComponent.Ref;
         I_IDisposable : MSSyst.IDisposable.Ref
      ) is new MSSyst.ComponentModel.Component.Typ(
         I_IComponent => I_IComponent,
         I_IDisposable => I_IDisposable
      ) with record
      null;
   end record;
   function new_WebClient(
      This : Ref := null) return Ref;
   function DownloadData(
      This : access Typ;
      address : MSSyst.String.Ref) return MSIL_Types.unsigned_int8_Array;
   procedure DownloadFile(
      This : access Typ;
      address : MSSyst.String.Ref;
      fileName : MSSyst.String.Ref);
   function get_BaseAddress(
      This : access Typ) return MSSyst.String.Ref;
   function get_Credentials(
      This : access Typ) return MSSyst.Net.ICredentials.Ref;
   function get_Headers(
      This : access Typ) return MSSyst.Net.WebHeaderCollection.Ref;
   function get_QueryString(
      This : access Typ) return MSSyst.Collections.Specialized.NameValueCollection.Ref;
   function get_ResponseHeaders(
      This : access Typ) return MSSyst.Net.WebHeaderCollection.Ref;
   function OpenRead(
      This : access Typ;
      address : MSSyst.String.Ref) return MSSyst.IO.Stream.Ref;
   function OpenWrite(
      This : access Typ;
      address : MSSyst.String.Ref;
      method : MSSyst.String.Ref) return MSSyst.IO.Stream.Ref;
   function OpenWrite(
      This : access Typ;
      address : MSSyst.String.Ref) return MSSyst.IO.Stream.Ref;
   procedure set_BaseAddress(
      This : access Typ;
      value : MSSyst.String.Ref);
   procedure set_Credentials(
      This : access Typ;
      value : MSSyst.Net.ICredentials.Ref);
   procedure set_Headers(
      This : access Typ;
      value : MSSyst.Net.WebHeaderCollection.Ref);
   procedure set_QueryString(
      This : access Typ;
      value : MSSyst.Collections.Specialized.NameValueCollection.Ref);
   function UploadData(
      This : access Typ;
      address : MSSyst.String.Ref;
      data : MSIL_Types.unsigned_int8_Arr) return MSIL_Types.unsigned_int8_Array;
   function UploadData(
      This : access Typ;
      address : MSSyst.String.Ref;
      method : MSSyst.String.Ref;
      data : MSIL_Types.unsigned_int8_Arr) return MSIL_Types.unsigned_int8_Array;
   function UploadFile(
      This : access Typ;
      address : MSSyst.String.Ref;
      method : MSSyst.String.Ref;
      fileName : MSSyst.String.Ref) return MSIL_Types.unsigned_int8_Array;
   function UploadFile(
      This : access Typ;
      address : MSSyst.String.Ref;
      fileName : MSSyst.String.Ref) return MSIL_Types.unsigned_int8_Array;
   function UploadValues(
      This : access Typ;
      address : MSSyst.String.Ref;
      data : MSSyst.Collections.Specialized.NameValueCollection.Ref) return MSIL_Types.unsigned_int8_Array;
   function UploadValues(
      This : access Typ;
      address : MSSyst.String.Ref;
      method : MSSyst.String.Ref;
      data : MSSyst.Collections.Specialized.NameValueCollection.Ref) return MSIL_Types.unsigned_int8_Array;
private
   pragma Convention(MSIL,Typ);
   pragma MSIL_Constructor(new_WebClient);
   pragma Import(MSIL,DownloadData,"DownloadData");
   pragma Import(MSIL,DownloadFile,"DownloadFile");
   pragma Import(MSIL,get_BaseAddress,"get_BaseAddress");
   pragma Import(MSIL,get_Credentials,"get_Credentials");
   pragma Import(MSIL,get_Headers,"get_Headers");
   pragma Import(MSIL,get_QueryString,"get_QueryString");
   pragma Import(MSIL,get_ResponseHeaders,"get_ResponseHeaders");
   pragma Import(MSIL,OpenRead,"OpenRead");
   pragma Import(MSIL,OpenWrite,"OpenWrite");
   pragma Import(MSIL,set_BaseAddress,"set_BaseAddress");
   pragma Import(MSIL,set_Credentials,"set_Credentials");
   pragma Import(MSIL,set_Headers,"set_Headers");
   pragma Import(MSIL,set_QueryString,"set_QueryString");
   pragma Import(MSIL,UploadData,"UploadData");
   pragma Import(MSIL,UploadFile,"UploadFile");
   pragma Import(MSIL,UploadValues,"UploadValues");
end MSSyst.Net.WebClient;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Net.WebClient,
   ".ver 1:0:3300:0 .publickeytoken=( b7 7a 5c 56 19 34 e0 89 )",
   "[System]System.Net.WebClient");
