using System;
using System.Globalization;
using System.Reflection;
using System.Reflection.Emit;
using System.Runtime.InteropServices;
using System.Runtime.Remoting;
using System.Security;
using System.Security.Policy;
using System.Security.Principal;
namespace System
{
/// Exposes the public members of the class to unmanaged code.
/// 2
// Token: 0x020006C2 RID: 1730
[Guid("05F696DC-2B29-3663-AD8B-C4389CF2A713")]
[ComVisible(true)]
[CLSCompliant(false)]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface _AppDomain
{
/// Provides COM objects with version-independent access to the event.
/// 2
// Token: 0x14000010 RID: 16
// (add) Token: 0x06004141 RID: 16705
// (remove) Token: 0x06004142 RID: 16706
event AssemblyLoadEventHandler AssemblyLoad;
/// Provides COM objects with version-independent access to the event.
/// 2
// Token: 0x14000011 RID: 17
// (add) Token: 0x06004143 RID: 16707
// (remove) Token: 0x06004144 RID: 16708
event ResolveEventHandler AssemblyResolve;
/// Provides COM objects with version-independent access to the event.
/// 2
// Token: 0x14000012 RID: 18
// (add) Token: 0x06004145 RID: 16709
// (remove) Token: 0x06004146 RID: 16710
event EventHandler DomainUnload;
/// Provides COM objects with version-independent access to the event.
/// 2
// Token: 0x14000013 RID: 19
// (add) Token: 0x06004147 RID: 16711
// (remove) Token: 0x06004148 RID: 16712
event EventHandler ProcessExit;
/// Provides COM objects with version-independent access to the event.
/// 2
// Token: 0x14000014 RID: 20
// (add) Token: 0x06004149 RID: 16713
// (remove) Token: 0x0600414A RID: 16714
event ResolveEventHandler ResourceResolve;
/// Provides COM objects with version-independent access to the event.
/// 2
// Token: 0x14000015 RID: 21
// (add) Token: 0x0600414B RID: 16715
// (remove) Token: 0x0600414C RID: 16716
event ResolveEventHandler TypeResolve;
/// Provides COM objects with version-independent access to the event.
/// 2
// Token: 0x14000016 RID: 22
// (add) Token: 0x0600414D RID: 16717
// (remove) Token: 0x0600414E RID: 16718
event UnhandledExceptionEventHandler UnhandledException;
/// Provides COM objects with version-independent access to the property.
/// The base directory that the assembly resolver uses to probe for assemblies.
/// 2
// Token: 0x17000C0D RID: 3085
// (get) Token: 0x0600414F RID: 16719
string BaseDirectory { get; }
/// Provides COM objects with version-independent access to the property.
/// Get the directory that the assembly resolver uses to probe for dynamically-created assemblies.
/// 2
// Token: 0x17000C0E RID: 3086
// (get) Token: 0x06004150 RID: 16720
string DynamicDirectory { get; }
/// Provides COM objects with version-independent access to the property.
/// Gets the associated with this application domain that is used as input to the security policy.
/// 2
// Token: 0x17000C0F RID: 3087
// (get) Token: 0x06004151 RID: 16721
Evidence Evidence { get; }
/// Provides COM objects with version-independent access to the property.
/// The friendly name of this application domain.
/// 2
// Token: 0x17000C10 RID: 3088
// (get) Token: 0x06004152 RID: 16722
string FriendlyName { get; }
/// Provides COM objects with version-independent access to the property.
/// The path under the base directory where the assembly resolver should probe for private assemblies.
/// 2
// Token: 0x17000C11 RID: 3089
// (get) Token: 0x06004153 RID: 16723
string RelativeSearchPath { get; }
/// Provides COM objects with version-independent access to the property.
/// true if the application domain is configured to shadow copy files; otherwise, false.
/// 2
// Token: 0x17000C12 RID: 3090
// (get) Token: 0x06004154 RID: 16724
bool ShadowCopyFiles { get; }
/// Provides COM objects with version-independent access to the method.
/// The name of the directory to be appended to the private path.
/// 2
// Token: 0x06004155 RID: 16725
void AppendPrivatePath(string path);
/// Provides COM objects with version-independent access to the method.
/// 2
///
///
///
// Token: 0x06004156 RID: 16726
void ClearPrivatePath();
/// Provides COM objects with version-independent access to the method.
/// 2
///
///
///
// Token: 0x06004157 RID: 16727
void ClearShadowCopyPath();
/// Provides COM objects with version-independent access to the method.
/// An object that is a wrapper for the new instance specified by . The return value needs to be unwrapped to access the real object.
/// The display name of the assembly. See .
/// The fully qualified name of the requested type, including the namespace but not the assembly, as returned by the property.
/// 2
// Token: 0x06004158 RID: 16728
ObjectHandle CreateInstance(string assemblyName, string typeName);
/// Provides COM objects with version-independent access to the method overload.
/// An object that is a wrapper for the new instance specified by . The return value needs to be unwrapped to access the real object.
/// The display name of the assembly. See .
/// The fully qualified name of the requested type, including the namespace but not the assembly, as returned by the property.
/// An array of one or more attributes that can participate in activation. Typically, an array that contains a single object. The specifies the URL that is required to activate a remote object.
/// 2
// Token: 0x06004159 RID: 16729
ObjectHandle CreateInstance(string assemblyName, string typeName, object[] activationAttributes);
/// Provides COM objects with version-independent access to the method overload.
/// An object that is a wrapper for the new instance specified by . The return value needs to be unwrapped to access the real object.
/// The display name of the assembly. See .
/// The fully qualified name of the requested type, including the namespace but not the assembly, as returned by the property.
/// A Boolean value specifying whether to perform a case-sensitive search or not.
/// A combination of zero or more bit flags that affect the search for the constructor. If is zero, a case-sensitive search for public constructors is conducted.
/// An object that enables the binding, coercion of argument types, invocation of members, and retrieval of objects using reflection. If is null, the default binder is used.
/// The arguments to pass to the constructor. This array of arguments must match in number, order, and type the parameters of the constructor to invoke. If the default constructor is preferred, must be an empty array or null.
/// Culture-specific information that governs the coercion of to the formal types declared for the constructor. If is null, the for the current thread is used.
/// An array of one or more attributes that can participate in activation. Typically, an array that contains a single object. The specifies the URL that is required to activate a remote object.
/// Information used to authorize creation of .
/// 2
// Token: 0x0600415A RID: 16730
ObjectHandle CreateInstance(string assemblyName, string typeName, bool ignoreCase, BindingFlags bindingAttr, Binder binder, object[] args, CultureInfo culture, object[] activationAttributes, Evidence securityAttributes);
/// Provides COM objects with version-independent access to the method overload.
/// An object that is a wrapper for the new instance, or null if is not found. The return value needs to be unwrapped to access the real object.
/// The name, including the path, of a file that contains an assembly that defines the requested type. The assembly is loaded using the method.
/// The fully qualified name of the requested type, including the namespace but not the assembly, as returned by the property.
/// 2
// Token: 0x0600415B RID: 16731
ObjectHandle CreateInstanceFrom(string assemblyFile, string typeName);
/// Provides COM objects with version-independent access to the method overload.
/// An object that is a wrapper for the new instance, or null if is not found. The return value needs to be unwrapped to access the real object.
/// The name, including the path, of a file that contains an assembly that defines the requested type. The assembly is loaded using the method.
/// The fully qualified name of the requested type, including the namespace but not the assembly, as returned by the property.
/// An array of one or more attributes that can participate in activation. Typically, an array that contains a single object. The specifies the URL that is required to activate a remote object.
/// 2
// Token: 0x0600415C RID: 16732
ObjectHandle CreateInstanceFrom(string assemblyFile, string typeName, object[] activationAttributes);
/// Provides COM objects with version-independent access to the method overload.
/// An object that is a wrapper for the new instance, or null if is not found. The return value needs to be unwrapped to access the real object.
/// The name, including the path, of a file that contains an assembly that defines the requested type. The assembly is loaded using the method.
/// The fully qualified name of the requested type, including the namespace but not the assembly, as returned by the property.
/// A Boolean value specifying whether to perform a case-sensitive search or not.
/// A combination of zero or more bit flags that affect the search for the constructor. If is zero, a case-sensitive search for public constructors is conducted.
/// An object that enables the binding, coercion of argument types, invocation of members, and retrieval of objects through reflection. If is null, the default binder is used.
/// The arguments to pass to the constructor. This array of arguments must match in number, order, and type the parameters of the constructor to invoke. If the default constructor is preferred, must be an empty array or null.
/// Culture-specific information that governs the coercion of to the formal types declared for the constructor. If is null, the for the current thread is used.
/// An array of one or more attributes that can participate in activation. Typically, an array that contains a single object. The specifies the URL that is required to activate a remote object.
/// Information used to authorize creation of .
/// 2
// Token: 0x0600415D RID: 16733
ObjectHandle CreateInstanceFrom(string assemblyFile, string typeName, bool ignoreCase, BindingFlags bindingAttr, Binder binder, object[] args, CultureInfo culture, object[] activationAttributes, Evidence securityAttributes);
/// Provides COM objects with version-independent access to the method overload.
/// Represents the dynamic assembly created.
/// The unique identity of the dynamic assembly.
/// The access mode for the dynamic assembly.
/// 2
// Token: 0x0600415E RID: 16734
AssemblyBuilder DefineDynamicAssembly(AssemblyName name, AssemblyBuilderAccess access);
/// Provides COM objects with version-independent access to the method overload.
/// Represents the dynamic assembly created.
/// The unique identity of the dynamic assembly.
/// The mode in which the dynamic assembly will be accessed.
/// The evidence supplied for the dynamic assembly. The evidence is used unaltered as the final set of evidence used for policy resolution.
/// 2
// Token: 0x0600415F RID: 16735
AssemblyBuilder DefineDynamicAssembly(AssemblyName name, AssemblyBuilderAccess access, Evidence evidence);
/// Provides COM objects with version-independent access to the method overload.
/// Represents the dynamic assembly created.
/// The unique identity of the dynamic assembly.
/// The mode in which the dynamic assembly will be accessed.
/// The name of the directory where the assembly will be saved. If is null, the directory defaults to the current directory.
/// 2
// Token: 0x06004160 RID: 16736
AssemblyBuilder DefineDynamicAssembly(AssemblyName name, AssemblyBuilderAccess access, string dir);
/// Provides COM objects with version-independent access to the method overload.
/// Represents the dynamic assembly created.
/// The unique identity of the dynamic assembly.
/// The mode in which the dynamic assembly will be accessed.
/// The name of the directory where the assembly will be saved. If is null, the directory defaults to the current directory.
/// The evidence supplied for the dynamic assembly. The evidence is used unaltered as the final set of evidence used for policy resolution.
/// 2
// Token: 0x06004161 RID: 16737
AssemblyBuilder DefineDynamicAssembly(AssemblyName name, AssemblyBuilderAccess access, string dir, Evidence evidence);
/// Provides COM objects with version-independent access to the method overload.
/// Represents the dynamic assembly created.
/// The unique identity of the dynamic assembly.
/// The mode in which the dynamic assembly will be accessed.
/// The required permissions request.
/// The optional permissions request.
/// The refused permissions request.
/// 2
// Token: 0x06004162 RID: 16738
AssemblyBuilder DefineDynamicAssembly(AssemblyName name, AssemblyBuilderAccess access, PermissionSet requiredPermissions, PermissionSet optionalPermissions, PermissionSet refusedPermissions);
/// Provides COM objects with version-independent access to the method overload.
/// Represents the dynamic assembly created.
/// The unique identity of the dynamic assembly.
/// The mode in which the dynamic assembly will be accessed.
/// The evidence supplied for the dynamic assembly. The evidence is used unaltered as the final set of evidence used for policy resolution.
/// The required permissions request.
/// The optional permissions request.
/// The refused permissions request.
/// 2
// Token: 0x06004163 RID: 16739
AssemblyBuilder DefineDynamicAssembly(AssemblyName name, AssemblyBuilderAccess access, Evidence evidence, PermissionSet requiredPermissions, PermissionSet optionalPermissions, PermissionSet refusedPermissions);
/// Provides COM objects with version-independent access to the method overload.
/// Represents the dynamic assembly created.
/// The unique identity of the dynamic assembly.
/// The mode in which the dynamic assembly will be accessed.
/// The name of the directory where the assembly will be saved. If is null, the directory defaults to the current directory.
/// The required permissions request.
/// The optional permissions request.
/// The refused permissions request.
/// 2
// Token: 0x06004164 RID: 16740
AssemblyBuilder DefineDynamicAssembly(AssemblyName name, AssemblyBuilderAccess access, string dir, PermissionSet requiredPermissions, PermissionSet optionalPermissions, PermissionSet refusedPermissions);
/// Provides COM objects with version-independent access to the method overload.
/// Represents the dynamic assembly created.
/// The unique identity of the dynamic assembly.
/// The mode in which the dynamic assembly will be accessed.
/// The name of the directory where the assembly will be saved. If is null, the directory defaults to the current directory.
/// The evidence supplied for the dynamic assembly. The evidence is used unaltered as the final set of evidence used for policy resolution.
/// The required permissions request.
/// The optional permissions request.
/// The refused permissions request.
/// 2
// Token: 0x06004165 RID: 16741
AssemblyBuilder DefineDynamicAssembly(AssemblyName name, AssemblyBuilderAccess access, string dir, Evidence evidence, PermissionSet requiredPermissions, PermissionSet optionalPermissions, PermissionSet refusedPermissions);
/// Provides COM objects with version-independent access to the method overload.
/// Represents the dynamic assembly created.
/// The unique identity of the dynamic assembly.
/// The mode in which the dynamic assembly will be accessed.
/// The name of the directory where the dynamic assembly will be saved. If is null, the directory defaults to the current directory.
/// The evidence supplied for the dynamic assembly. The evidence is used unaltered as the final set of evidence used for policy resolution.
/// The required permissions request.
/// The optional permissions request.
/// The refused permissions request.
/// true to synchronize the creation of modules, types, and members in the dynamic assembly; otherwise, false.
/// 2
// Token: 0x06004166 RID: 16742
AssemblyBuilder DefineDynamicAssembly(AssemblyName name, AssemblyBuilderAccess access, string dir, Evidence evidence, PermissionSet requiredPermissions, PermissionSet optionalPermissions, PermissionSet refusedPermissions, bool isSynchronized);
/// Provides COM objects with version-independent access to the method.
/// A delegate that specifies a method to call.
/// 2
// Token: 0x06004167 RID: 16743
void DoCallBack(CrossAppDomainDelegate theDelegate);
/// Provides COM objects with version-independent access to the inherited method.
/// true if the specified is equal to the current ; otherwise, false.
/// The to compare to the current .
/// 2
// Token: 0x06004168 RID: 16744
bool Equals(object other);
/// Provides COM objects with version-independent access to the method overload.
/// The value returned by the entry point of the assembly.
/// The name of the file that contains the assembly to execute.
/// 2
// Token: 0x06004169 RID: 16745
int ExecuteAssembly(string assemblyFile);
/// Provides COM objects with version-independent access to the method overload.
/// The value returned by the entry point of the assembly.
/// The name of the file that contains the assembly to execute.
/// Evidence for loading the assembly.
/// 2
// Token: 0x0600416A RID: 16746
int ExecuteAssembly(string assemblyFile, Evidence assemblySecurity);
/// Provides COM objects with version-independent access to the method overload.
/// The value returned by the entry point of the assembly.
/// The name of the file that contains the assembly to execute.
/// The supplied evidence for the assembly.
/// The arguments to the entry point of the assembly.
/// 2
// Token: 0x0600416B RID: 16747
int ExecuteAssembly(string assemblyFile, Evidence assemblySecurity, string[] args);
/// Provides COM objects with version-independent access to the method.
/// An array of assemblies in this application domain.
/// 2
// Token: 0x0600416C RID: 16748
Assembly[] GetAssemblies();
/// Provides COM objects with version-independent access to the method.
/// The value of the property.
/// The name of a predefined application domain property, or the name of an application domain property you have defined.
/// 2
// Token: 0x0600416D RID: 16749
object GetData(string name);
/// Provides COM objects with version-independent access to the inherited method.
/// A hash code for the current .
/// 2
// Token: 0x0600416E RID: 16750
int GetHashCode();
/// Provides COM objects with version-independent access to the inherited method.
/// An object of type used to control the lifetime policy for this instance.
/// 2
///
///
///
// Token: 0x0600416F RID: 16751
object GetLifetimeService();
/// Provides COM objects with version-independent access to the method.
/// A representing the type of the current instance.
/// 2
// Token: 0x06004170 RID: 16752
Type GetType();
/// Provides COM objects with version-independent access to the method.
/// Always null.
/// 2
///
///
///
// Token: 0x06004171 RID: 16753
object InitializeLifetimeService();
/// Provides COM objects with version-independent access to the method overload.
/// The loaded assembly.
/// An object that describes the assembly to load.
/// 2
// Token: 0x06004172 RID: 16754
Assembly Load(AssemblyName assemblyRef);
/// Provides COM objects with version-independent access to the method overload.
/// The loaded assembly.
/// An array of type byte that is a COFF-based image containing an emitted assembly.
/// 2
// Token: 0x06004173 RID: 16755
Assembly Load(byte[] rawAssembly);
/// Provides COM objects with version-independent access to the method overload.
/// The loaded assembly.
/// The display name of the assembly. See .
/// 2
// Token: 0x06004174 RID: 16756
Assembly Load(string assemblyString);
/// Provides COM objects with version-independent access to the method overload.
/// The loaded assembly.
/// An object that describes the assembly to load.
/// Evidence for loading the assembly.
/// 2
// Token: 0x06004175 RID: 16757
Assembly Load(AssemblyName assemblyRef, Evidence assemblySecurity);
/// Provides COM objects with version-independent access to the method overload.
/// The loaded assembly.
/// An array of type byte that is a COFF-based image containing an emitted assembly.
/// An array of type byte containing the raw bytes representing the symbols for the assembly.
/// 2
// Token: 0x06004176 RID: 16758
Assembly Load(byte[] rawAssembly, byte[] rawSymbolStore);
/// Provides COM objects with version-independent access to the method overload.
/// The loaded assembly.
/// The display name of the assembly. See .
/// Evidence for loading the assembly.
/// 2
// Token: 0x06004177 RID: 16759
Assembly Load(string assemblyString, Evidence assemblySecurity);
/// Provides COM objects with version-independent access to the method overload.
/// The loaded assembly.
/// An array of type byte that is a COFF-based image containing an emitted assembly.
/// An array of type byte containing the raw bytes representing the symbols for the assembly.
/// Evidence for loading the assembly.
/// 2
// Token: 0x06004178 RID: 16760
Assembly Load(byte[] rawAssembly, byte[] rawSymbolStore, Evidence securityEvidence);
/// Provides COM objects with version-independent access to the method.
/// The security policy level.
/// 2
///
///
///
// Token: 0x06004179 RID: 16761
void SetAppDomainPolicy(PolicyLevel domainPolicy);
/// Provides COM objects with version-independent access to the method.
/// The fully qualified path to the shadow copy location.
/// 2
// Token: 0x0600417A RID: 16762
void SetCachePath(string s);
/// Provides COM objects with version-independent access to the method.
/// The name of a user-defined application domain property to create or change.
/// The value of the property.
/// 2
// Token: 0x0600417B RID: 16763
void SetData(string name, object data);
/// Provides COM objects with version-independent access to the method.
/// One of the values that specifies the type of the principal object to attach to threads.
/// 2
// Token: 0x0600417C RID: 16764
void SetPrincipalPolicy(PrincipalPolicy policy);
/// Provides COM objects with version-independent access to the method.
/// A list of directory names, where each name is separated by a semicolon.
/// 2
// Token: 0x0600417D RID: 16765
void SetShadowCopyPath(string s);
/// Provides COM objects with version-independent access to the method.
/// The principal object to attach to threads.
/// 2
// Token: 0x0600417E RID: 16766
void SetThreadPrincipal(IPrincipal principal);
/// Provides COM objects with version-independent access to the method.
/// A string formed by concatenating the literal string "Name:", the friendly name of the application domain, and either string representations of the context policies or the string "There are no context policies."
/// 2
// Token: 0x0600417F RID: 16767
string ToString();
/// Maps a set of names to a corresponding set of dispatch identifiers.
/// Reserved for future use. Must be IID_NULL.
/// Passed-in array of names to be mapped.
/// Count of the names to be mapped.
/// The locale context in which to interpret the names.
/// Caller-allocated array which receives the IDs corresponding to the names.
/// The method is called late-bound using the COM IDispatch interface.
// Token: 0x06004180 RID: 16768
void GetIDsOfNames([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
/// Retrieves the type information for an object, which can then be used to get the type information for an interface.
/// The type information to return.
/// The locale identifier for the type information.
/// Receives a pointer to the requested type information object.
/// The method is called late-bound using the COM IDispatch interface.
// Token: 0x06004181 RID: 16769
void GetTypeInfo(uint iTInfo, uint lcid, IntPtr ppTInfo);
/// Retrieves the number of type information interfaces that an object provides (either 0 or 1).
/// Points to a location that receives the number of type information interfaces provided by the object.
/// The method is called late-bound using the COM IDispatch interface.
// Token: 0x06004182 RID: 16770
void GetTypeInfoCount(out uint pcTInfo);
/// Provides access to properties and methods exposed by an object.
/// Identifies the member.
/// Reserved for future use. Must be IID_NULL.
/// The locale context in which to interpret arguments.
/// Flags describing the context of the call.
/// Pointer to a structure containing an array of arguments, an array of argument DISPIDs for named arguments, and counts for the number of elements in the arrays.
/// Pointer to the location where the result is to be stored.
/// Pointer to a structure that contains exception information.
/// The index of the first argument that has an error.
/// The method is called late-bound using the COM IDispatch interface.
// Token: 0x06004183 RID: 16771
void Invoke(uint dispIdMember, [In] ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
}
}