System.Security.Policy.IApplicationTrustManager

Determines whether an application should be executed and which set of permissions should be granted to it.

See Also: IApplicationTrustManager Members

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public interface IApplicationTrustManager : System.Security.ISecurityEncodable

Remarks

Trust managers must implement the System.Security.Policy.IApplicationTrustManager interface. The host calls the IApplicationTrustManager.DetermineApplicationTrust(ActivationContext, TrustManagerContext) method to determine whether an application should be executed and which permissions should be granted to the application.

In the net_v40_long and later, there is only one trust manager, which can be a custom implementation of the System.Security.Policy.IApplicationTrustManager interface. The default trust manager implementation prompts the user for permission to install the application and to elevate the permissions granted to the application. Other trust manager implementations might provide different user experiences. For example, an implementation might check an enterprise list for trusted applications instead of prompting the user for that information.

Requirements

Namespace: System.Security.Policy
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0