Question: how to add reference to system.management.dll?
Answer: Right click on the references in your project. Click Add Reference. Select the file (Project Root > Bin > System. Management.