ApplicationSecurityManager.ApplicationTrustManager Property

Definition

Gets the current application trust manager.

public static System.Security.Policy.IApplicationTrustManager ApplicationTrustManager { get; }

Property Value

An IApplicationTrustManager that represents the current trust manager.

Exceptions

The policy on this application does not have a trust manager.

Remarks

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

Applies to

منتج الإصدارات
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1