Avatar of manishkatoch
manishkatoch
 asked on

How to check if System hardware configuration has changed?

Hi,
I have a system profiler tool which gathers system information as per the requirement. However there is one scenario where I am at sea right now. System profiler needs to be re-run automatically whenever a graphic card or hard drive is removed/replaced. That is I need to capture if there is change in configuration after system restarts to judge if we need to run the profiler again.

Any Ideas? WM_DEVICECHANGE wont work as we are going to rerun profiler only when there is major component change ( which usually requires system restart ).

Thanks in advance!
C#Windows OS

Avatar of undefined
Last Comment
AndyAinscow

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
AndyAinscow

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23