Hi @StewartBW ,
The ManagementObjectSearcher.Get()
call can hang indefinitely because the WMI query waits for a response from the drive, which might not be able to respond while burning.
You can run the query in a separate thread and enforce a timeout.
Best Regards.
Jiachen Li
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.