OP 08 July, 2022 - 10:56 PM
when i'm creating new instance here "ManagementObjectSearcher mos = new ManagementObjectSearcher("Select ProcessorID From Win32_processor");"
it throws this error "NullReferenceException: Object reference not set to an instance of an object." i don't know why it is not working please help
it throws this error "NullReferenceException: Object reference not set to an instance of an object." i don't know why it is not working please help
![[Image: text2.webp]](https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fleaked.tools%2Fimg%2Ftext2.webp)
![[Image: UQVD7D8.png]](https://i.imgur.com/UQVD7D8.png)
![[Image: image.png]](https://i.ibb.co/BZsPsmT/image.png)
![[Image: 5252a8520764d2ca666c483a2fc4b8ec.png]](https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fi.gyazo.com%2F5252a8520764d2ca666c483a2fc4b8ec.png)
![[Image: e4113f52eead6ea0b003f10cf634aaf1.png]](https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fi.gyazo.com%2Fe4113f52eead6ea0b003f10cf634aaf1.png)
![[Image: f49c706429640a2794a377572cc7acde.png]](https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fi.gyazo.com%2Ff49c706429640a2794a377572cc7acde.png)