ContextInformation::IsMachineLevel Property
.NET Framework (current version)
Gets a value specifying whether the configuration property is being evaluated at the machine configuration level.
Assembly: System.Configuration (in System.Configuration.dll)
Property Value
Type: System::Booleantrue if the configuration property is being evaluated at the machine configuration level; otherwise, false.
When the returned value of IsMachineLevel is false, use the HostingContext property to determine the level within the configuration hierarchy.
The following code example demonstrates how to use the HostingContext property.
.NET Framework
Available since 2.0
Available since 2.0
Show: