Export (0) Print
Expand All

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.

System.Object
   System.Security.Policy.ApplicationDirectory

[Visual Basic]
<Serializable>
NotInheritable Public Class ApplicationDirectory
[C#]
[Serializable]
public sealed class ApplicationDirectory
[C++]
[Serializable]
public __gc __sealed class ApplicationDirectory
[JScript]
public
   Serializable
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.

Remarks

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.

Requirements

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

Show:
© 2014 Microsoft