Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MachineConfigurationDirectory Property

HttpRuntime.MachineConfigurationDirectory Property

Gets the physical path to the directory where the Machine.config file for the current application is located.

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

'Declaration
Public Shared ReadOnly Property MachineConfigurationDirectory As String

Property Value

Type: System.String
The physical path to the Machine.config file for the current application.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
Show:
© 2015 Microsoft