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 自定义实现。 默认的信任管理器实现会提示用户提供安装应用程序的权限,并提升授予应用程序的权限。 其他信任管理器实现可能具有不同的用户体验。 例如,实现可能会检查企业列表中的受信任应用程序,而不是提示用户输入该信息。

适用于