ApplicationTrust.IsApplicationTrustedToRun 属性

定义

获取或设置一个值,该值指示应用程序是否具有所需的权限授予并且受信任可运行。

public:
 property bool IsApplicationTrustedToRun { bool get(); void set(bool value); };
public bool IsApplicationTrustedToRun { get; set; }
member this.IsApplicationTrustedToRun : bool with get, set
Public Property IsApplicationTrustedToRun As Boolean

属性值

Boolean

如果应用程序受信任可以运行,则为 true;否则为 false。 默认值为 false

注解

信任管理器将 IsApplicationTrustedToRun 应用程序批准执行时的属性设置为 true 该属性。

适用于