This documentation is archived and is not being maintained.

HttpRuntime.AppDomainAppPath Property

Gets the physical drive path of the application directory for the application hosted in the current application domain.

[Visual Basic]
Public Shared ReadOnly Property AppDomainAppPath As String
[C#]
public static string AppDomainAppPath {get;}
[C++]
public: __property static String* get_AppDomainAppPath();
[JScript]
public static function get AppDomainAppPath() : String;

Property Value

The physical drive path of the application directory for the application hosted in the current application domain.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

  • FileIOPermission for access to the information in the path itself. This helps protect sensitive information in the path, such as user names, as well as information about the directory structure revealed in the path. This value does not grant access to files or folders represented by the path. Associated enumeration: FileIOPermissionAccess.PathDiscovery

See Also

HttpRuntime Class | HttpRuntime Members | System.Web Namespace

Show: