System.Web Namespace HttpRuntime Class
Gets the physical path to the directory where the Machine.config file for the current application is located.
[ VB ]
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;
The physical path to the Machine.config file for the current application.
.NET Framework Security:
- FileIOPermission for access to the information in the path itself. This protects 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
HttpRuntime Members