-- 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.ICredentials.Ref is access;
with type MSSyst.Object.Ref is access;
with type MSSyst.String.Ref is access;
with type MSSyst.Uri.Ref is access;
with type MSSyst.Type_k.Ref is access;
with MSSyst.Object;
package MSSyst.Net.NetworkCredential 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_ICredentials : MSSyst.Net.ICredentials.Ref
      ) is new MSSyst.Object.Typ with record
      null;
   end record;
   function new_NetworkCredential(
      This : Ref := null) return Ref;
   function new_NetworkCredential(
      This : Ref := null;
      userName : MSSyst.String.Ref;
      password : MSSyst.String.Ref) return Ref;
   function new_NetworkCredential(
      This : Ref := null;
      userName : MSSyst.String.Ref;
      password : MSSyst.String.Ref;
      domain : MSSyst.String.Ref) return Ref;
   function get_Domain(
      This : access Typ) return MSSyst.String.Ref;
   function get_Password(
      This : access Typ) return MSSyst.String.Ref;
   function get_UserName(
      This : access Typ) return MSSyst.String.Ref;
   function GetCredential(
      This : access Typ;
      uri : MSSyst.Uri.Ref;
      authType : MSSyst.String.Ref) return MSSyst.Net.NetworkCredential.Ref;
   procedure set_Domain(
      This : access Typ;
      value : MSSyst.String.Ref);
   procedure set_Password(
      This : access Typ;
      value : MSSyst.String.Ref);
   procedure set_UserName(
      This : access Typ;
      value : MSSyst.String.Ref);
private
   pragma Convention(MSIL,Typ);
   pragma MSIL_Constructor(new_NetworkCredential);
   pragma Import(MSIL,get_Domain,"get_Domain");
   pragma Import(MSIL,get_Password,"get_Password");
   pragma Import(MSIL,get_UserName,"get_UserName");
   pragma Import(MSIL,GetCredential,"GetCredential");
   pragma Import(MSIL,set_Domain,"set_Domain");
   pragma Import(MSIL,set_Password,"set_Password");
   pragma Import(MSIL,set_UserName,"set_UserName");
end MSSyst.Net.NetworkCredential;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Net.NetworkCredential,
   ".ver 1:0:5000:0 .publickeytoken=( 96 9d b8 05 3d 33 22 ac )",
   "[System]System.Net.NetworkCredential");
