-- 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.Runtime.InteropServices.uAttribute.Ref is access;
with type MSSyst.Security.IPermission.Ref is access;
with type MSSyst.Object.Ref is access;
with type MSSyst.String.Ref is access;
with MSSyst.Security.Permissions.SecurityAction;
with type MSSyst.Type_k.Ref is access;
with MSSyst.Security.Permissions.CodeAccessSecurityAttribute;
package MSSyst.Net.SocketPermissionAttribute 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_uAttribute : MSSyst.Runtime.InteropServices.uAttribute.Ref
      ) is new MSSyst.Security.Permissions.CodeAccessSecurityAttribute.Typ(
         I_uAttribute => I_uAttribute
      ) with record
      null;
   end record;
   function new_SocketPermissionAttribute(
      This : Ref := null;
      action : MSSyst.Security.Permissions.SecurityAction.Valuetype) return Ref;
   function CreatePermission(
      This : access Typ) return MSSyst.Security.IPermission.Ref;
   function get_Access(
      This : access Typ) return MSSyst.String.Ref;
   function get_Host(
      This : access Typ) return MSSyst.String.Ref;
   function get_Port(
      This : access Typ) return MSSyst.String.Ref;
   function get_Transport(
      This : access Typ) return MSSyst.String.Ref;
   procedure set_Access(
      This : access Typ;
      value : MSSyst.String.Ref);
   procedure set_Host(
      This : access Typ;
      value : MSSyst.String.Ref);
   procedure set_Port(
      This : access Typ;
      value : MSSyst.String.Ref);
   procedure set_Transport(
      This : access Typ;
      value : MSSyst.String.Ref);
private
   pragma Convention(MSIL,Typ);
   pragma MSIL_Constructor(new_SocketPermissionAttribute);
   pragma Import(MSIL,CreatePermission,"CreatePermission");
   pragma Import(MSIL,get_Access,"get_Access");
   pragma Import(MSIL,get_Host,"get_Host");
   pragma Import(MSIL,get_Port,"get_Port");
   pragma Import(MSIL,get_Transport,"get_Transport");
   pragma Import(MSIL,set_Access,"set_Access");
   pragma Import(MSIL,set_Host,"set_Host");
   pragma Import(MSIL,set_Port,"set_Port");
   pragma Import(MSIL,set_Transport,"set_Transport");
end MSSyst.Net.SocketPermissionAttribute;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Net.SocketPermissionAttribute,
   ".ver 1:0:3300:0 .publickeytoken=( b7 7a 5c 56 19 34 e0 89 )",
   "[System]System.Net.SocketPermissionAttribute");
