This documentation is archived and is not being maintained.

ApplicationTrust.IsApplicationTrustedToRun Property

Note: This property is new in the .NET Framework version 2.0.

Gets or sets a value indicating whether the application has the required permission grants and is trusted to run.

Namespace: System.Security.Policy
Assembly: mscorlib (in mscorlib.dll)

public bool IsApplicationTrustedToRun { get; set; }
/** @property */
public boolean get_IsApplicationTrustedToRun ()

/** @property */
public void set_IsApplicationTrustedToRun (boolean value)

public function get IsApplicationTrustedToRun () : boolean

public function set IsApplicationTrustedToRun (value : boolean)

Property Value

true if the application is trusted to run; otherwise, false. The default is false.

A trust manager sets the IsApplicationTrustedToRun property to true when an application has been approved to execute.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0
Show: