36 lines
1.7 KiB
C#
36 lines
1.7 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace System.Security
|
|
{
|
|
/// <summary>Specifies the security policy components to be used by the host security manager.</summary>
|
|
// Token: 0x020005BF RID: 1471
|
|
[ComVisible(true)]
|
|
[Flags]
|
|
[Serializable]
|
|
public enum HostSecurityManagerOptions
|
|
{
|
|
/// <summary>Use none of the security policy components.</summary>
|
|
// Token: 0x0400160C RID: 5644
|
|
None = 0,
|
|
/// <summary>Use the application domain evidence.</summary>
|
|
// Token: 0x0400160D RID: 5645
|
|
HostAppDomainEvidence = 1,
|
|
/// <summary>Use the policy level specified in the <see cref="P:System.Security.HostSecurityManager.DomainPolicy" /> property.</summary>
|
|
// Token: 0x0400160E RID: 5646
|
|
HostPolicyLevel = 2,
|
|
/// <summary>Use the assembly evidence.</summary>
|
|
// Token: 0x0400160F RID: 5647
|
|
HostAssemblyEvidence = 4,
|
|
/// <summary>Route calls to the <see cref="M:System.Security.Policy.ApplicationSecurityManager.DetermineApplicationTrust(System.ActivationContext,System.Security.Policy.TrustManagerContext)" /> method to the <see cref="M:System.Security.HostSecurityManager.DetermineApplicationTrust(System.Security.Policy.Evidence,System.Security.Policy.Evidence,System.Security.Policy.TrustManagerContext)" /> method first.</summary>
|
|
// Token: 0x04001610 RID: 5648
|
|
HostDetermineApplicationTrust = 8,
|
|
/// <summary>Use the <see cref="M:System.Security.HostSecurityManager.ResolvePolicy(System.Security.Policy.Evidence)" /> method to resolve the application evidence.</summary>
|
|
// Token: 0x04001611 RID: 5649
|
|
HostResolvePolicy = 16,
|
|
/// <summary>Use all security policy components.</summary>
|
|
// Token: 0x04001612 RID: 5650
|
|
AllFlags = 31
|
|
}
|
|
}
|