HttpRuntime.AspInstallDirectory Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the physical path of the directory where the ASP.NET executable files are installed.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

static member AspInstallDirectory : string with get

Property Value

Type: System.String

The physical path to the ASP.NET executable files.

Exception Condition

ASP.NET is not installed on this computer.

.NET Framework
Available since 1.1
Return to top