ApplicationSecurityManager.ApplicationTrustManager 属性

定义

获取当前应用程序信任管理器。

public:
 static property System::Security::Policy::IApplicationTrustManager ^ ApplicationTrustManager { System::Security::Policy::IApplicationTrustManager ^ get(); };
public static System.Security.Policy.IApplicationTrustManager ApplicationTrustManager { get; }
static member ApplicationTrustManager : System.Security.Policy.IApplicationTrustManager
Public Shared ReadOnly Property ApplicationTrustManager As IApplicationTrustManager

属性值

表示当前信任管理器的一个 IApplicationTrustManager

例外

此应用程序上的策略没有信任管理器。

注解

在当前版本中,只有一个信任管理器,它可以是接口的 IApplicationTrustManager 自定义实现。 默认信任管理器实现提示用户安装应用程序的权限,并提升授予应用程序的权限。 其他信任管理器实现可能具有不同的用户体验。 例如,实现可能会检查受信任的应用程序的企业列表,而不是提示用户输入该信息。

适用于