Example #1
0
        public void AddInvokeMethodFilter(string fullQualifyObjectName, string propertyName, string propertyValue)
        {
            WmiInvokeMethodFilter wmiFilter = new WmiInvokeMethodFilter(fullQualifyObjectName, propertyName, propertyValue);

            if (this.Filter == null)
            {
                this.Filter = new List <WmiInvokeMethodFilter>();
            }
            this.Filter.Add(wmiFilter);
        }
Example #2
0
 public void AddInvokeMethodFilter(string fullQualifyObjectName, string propertyName, string propertyValue)
 {
     WmiInvokeMethodFilter wmiFilter = new WmiInvokeMethodFilter(fullQualifyObjectName, propertyName, propertyValue);
     if (this.Filter == null)
         this.Filter = new List<WmiInvokeMethodFilter>();
     this.Filter.Add(wmiFilter);
 }