Tuesday, April 9, 2013

WMI and Custom configuration with multiple hierarchies


Please find the below link that will show how to use Multiple custom configuration hierarchy and WMI management.

WMI and Custom Configuration

Description
In the configuration file a custom configuration can be made to handle the services on a server. This configuration is using  a multiple hierarchy. So the following classes are being used to manage the multiple custom configuration.

ConfigurationSection
ConfigurationElement
ConfigurationElementCollection

Second thing, WMI will use that configuration and the relevant services on the specified server and will show in a grid. It can be stopped and started again via a desktop client.

Note: I have not used threading yet. This is just a demo so if a form hangs on then do wait.
Following classes are used to handle remote services.
ConnectionOptions
ManagementScope
ManagementObjectSearcher
ManagementObject

No comments:

Post a Comment