-- 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.Security.IPermission.Ref is access;
with type MSSyst.Security.ISecurityEncodable.Ref is access;
with type MSSyst.Security.IStackWalk.Ref is access;
with type MSSyst.Security.Permissions.IUnrestrictedPermission.Ref is access;
with MSSyst.Net.NetworkAccess;
with type MSSyst.String.Ref is access;
with type MSSyst.Text.RegularExpressions.Regex.Ref is access;
with type MSSyst.Object.Ref is access;
with type MSSyst.Security.SecurityElement.Ref is access;
with type MSSyst.Collections.IEnumerator.Ref is access;
with type MSSyst.Type_k.Ref is access;
with MSSyst.Security.Permissions.PermissionState;
with MSSyst.Security.CodeAccessPermission;
package MSSyst.Net.WebPermission 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_IPermission : MSSyst.Security.IPermission.Ref;
         I_ISecurityEncodable : MSSyst.Security.ISecurityEncodable.Ref;
         I_IStackWalk : MSSyst.Security.IStackWalk.Ref;
         I_IUnrestrictedPermission : MSSyst.Security.Permissions.IUnrestrictedPermission.Ref
      ) is new MSSyst.Security.CodeAccessPermission.Typ(
         I_IPermission => I_IPermission,
         I_ISecurityEncodable => I_ISecurityEncodable,
         I_IStackWalk => I_IStackWalk
      ) with record
      null;
   end record;
   function new_WebPermission(
      This : Ref := null;
      state : MSSyst.Security.Permissions.PermissionState.Valuetype) return Ref;
   function new_WebPermission(
      This : Ref := null) return Ref;
   function new_WebPermission(
      This : Ref := null;
      access_k : MSSyst.Net.NetworkAccess.Valuetype;
      uriRegex : MSSyst.Text.RegularExpressions.Regex.Ref) return Ref;
   function new_WebPermission(
      This : Ref := null;
      access_k : MSSyst.Net.NetworkAccess.Valuetype;
      uriString : MSSyst.String.Ref) return Ref;
   procedure AddPermission(
      This : access Typ;
      access_k : MSSyst.Net.NetworkAccess.Valuetype;
      uriString : MSSyst.String.Ref);
   procedure AddPermission(
      This : access Typ;
      access_k : MSSyst.Net.NetworkAccess.Valuetype;
      uriRegex : MSSyst.Text.RegularExpressions.Regex.Ref);
   function Copy(
      This : access Typ) return MSSyst.Security.IPermission.Ref;
   procedure FromXml(
      This : access Typ;
      securityElement : MSSyst.Security.SecurityElement.Ref);
   function get_AcceptList(
      This : access Typ) return MSSyst.Collections.IEnumerator.Ref;
   function get_ConnectList(
      This : access Typ) return MSSyst.Collections.IEnumerator.Ref;
   function Intersect(
      This : access Typ;
      target : MSSyst.Security.IPermission.Ref) return MSSyst.Security.IPermission.Ref;
   function IsSubsetOf(
      This : access Typ;
      target : MSSyst.Security.IPermission.Ref) return Standard.Boolean;
   function IsUnrestricted(
      This : access Typ) return Standard.Boolean;
   function ToXml(
      This : access Typ) return MSSyst.Security.SecurityElement.Ref;
   function Union(
      This : access Typ;
      target : MSSyst.Security.IPermission.Ref) return MSSyst.Security.IPermission.Ref;
private
   pragma Convention(MSIL,Typ);
   pragma MSIL_Constructor(new_WebPermission);
   pragma Import(MSIL,AddPermission,"AddPermission");
   pragma Import(MSIL,Copy,"Copy");
   pragma Import(MSIL,FromXml,"FromXml");
   pragma Import(MSIL,get_AcceptList,"get_AcceptList");
   pragma Import(MSIL,get_ConnectList,"get_ConnectList");
   pragma Import(MSIL,Intersect,"Intersect");
   pragma Import(MSIL,IsSubsetOf,"IsSubsetOf");
   pragma Import(MSIL,IsUnrestricted,"IsUnrestricted");
   pragma Import(MSIL,ToXml,"ToXml");
   pragma Import(MSIL,Union,"Union");
end MSSyst.Net.WebPermission;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Net.WebPermission,
   ".ver 1:0:3300:0 .publickeytoken=( b7 7a 5c 56 19 34 e0 89 )",
   "[System]System.Net.WebPermission");
