WmiConfigurationAttribute Class
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Namespace: System.Management
Assembly: System.Core (in System.Core.dll)
Defines the Windows Management Instrumentation (WMI) namespace, hosting model, and security for a WMI provider. The WmiConfiguration attribute marks the assembly that contains the provider.
Assembly: System.Core (in System.Core.dll)
// Specify that this code is used to to create an assembly
// that contains a WMI Provider.
// Use the assembly:WmiConfiguration attribute to define the WMI
// namespace, the hosting model, and the security of the WMI provider.
// The attribute below specifies that the class this provider
// exposes to WMI will be in the root/MortgageCalc namespace.
[assembly: WmiConfiguration("root/MortgageCalc",HostingModel = ManagementHostingModel.Decoupled, IdentifyLevel = false)]
Show: