This documentation is archived and is not being maintained.
HttpRuntime.AspInstallDirectory Property
.NET Framework 1.1
Gets the physical path of the directory where the ASP.NET executable files are installed.
[Visual Basic] Public Shared ReadOnly Property AspInstallDirectory As String [C#] public static string AspInstallDirectory {get;} [C++] public: __property static String* get_AspInstallDirectory(); [JScript] public static function get AspInstallDirectory() : String;
Property Value
The physical path to the ASP.NET executable files.
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: