This documentation is archived and is not being maintained.
HttpRuntime.MachineConfigurationDirectory Property
.NET Framework 1.1
Gets the physical path to the directory where the Machine.config file for the current application is located.
[Visual Basic] Public Shared ReadOnly Property MachineConfigurationDirectory As _ String [C#] public static string MachineConfigurationDirectory {get;} [C++] public: __property static String* get_MachineConfigurationDirectory(); [JScript] public static function get MachineConfigurationDirectory() : String;
Property Value
The physical path to the Machine.config file for the current application.
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: