Share via


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

属性值

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

注解

当应用程序被批准执行时,信任管理器将 属性true设置为 IsApplicationTrustedToRun

适用于