HostSecurityManager
Allows the control and customization of security behavior for application domains.
When overridden in a derived class, gets the security policy for the current application domain.
Gets the flag representing the security policy components of concern to the host.
public HostSecurityManager()
Initializes a new instance of the HostSecurityManager class.
public virtual ApplicationTrust DetermineApplicationTrust(Evidence applicationEvidence, Evidence activatorEvidence, TrustManagerContext context)
Determines whether an application should be executed.
Requests a specific evidence type for the application domain.
Requests a specific evidence type for the assembly.
Determines which evidence types the host can supply for the application domain, if requested.
Determines which evidence types the host can supply for the assembly, if requested.
Provides the application domain evidence for an assembly being loaded.
Provides the assembly evidence for an assembly being loaded.
Determines what permissions to grant to code based on the specified evidence.