This documentation is archived and is not being maintained.

ApplicationDirectory Class

Provides the application directory as evidence for policy evaluation. This class cannot be inherited.

For a list of all members of this type, see ApplicationDirectory Members.


[Visual Basic]
NotInheritable Public Class ApplicationDirectory
public sealed class ApplicationDirectory
public __gc __sealed class ApplicationDirectory
class ApplicationDirectory

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


The domain host can associate a file directory with an application domain. For an ASP.NET-based server application, this is typically set to the directory that contains the base page of the application. Microsoft Internet Explorer Web applications do not have an application directory. The evidence for policy evaluation is only provided when the application domain is associated with a file directory.


Namespace: System.Security.Policy

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: Mscorlib (in Mscorlib.dll)

See Also

ApplicationDirectory Members | System.Security.Policy Namespace