Beispiel #1
0
        private ManagementClass NewParameter(String direction)
        {
            ObjectGetOptions options      = new ObjectGetOptions();
            ManagementClass  __PARAMETERS = new ManagementClass(@"ROOT\cimv2", "__PARAMETERS", null);
            ManagementClass  parameters   = (ManagementClass)__PARAMETERS.Clone();

            parameters.Qualifiers.Add(direction, true);
            return(parameters);
        }