When I pass this below link query I find that the CPU usage goes till 100%
How Could I minimize this usage ,because if other application simultaneously runs it may cause harm to those application .I saw WMIPrvSE.exe is consuming CPU's 100 % memory.I can neither exit this application because it is fetching the data through WMI. I do search other system queries from the WMI having different object for management object searcher as given in this link
When I completely execute the whole program ,I find it that CPU usage goes entirely up to 100% and doesn't come down till the application fetches all the data.
While debugging the code the usage goes down but trying to put Thread.Sleep
doesn't do anything.