The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
WebConfigurationManager::OpenMachineConfiguration Method ()
.NET Framework (current version)
Opens the machine-configuration file on the current computer as a Configuration object to allow read or write operations.
Assembly: System.Web (in System.Web.dll)
| Exception | Condition |
|---|---|
| ConfigurationErrorsException | A valid configuration file could not be loaded. |
The OpenMachineConfiguration method opens the machine-configuration file on the computer where the application runs. This file is located in the standard build directory %windir%\Microsoft.NET\Framework\version\config.
.NET Framework
Available since 2.0
Available since 2.0
Show: