The type or namespace name 'SelectQuery' does not exist in the namespace 'System.Management' (are you missing an assembly reference?)

1. Add using System.Management to your code
2. Add a Reference of  System.Management to your project.
    1. right click on your project or solution and click add referecne
    2. from the .Net libraries select the System.Management.
3. Done