Introduction - If you have any usage issues, please Google them yourself
C# gets the computer sound device type and display PNPDeviceID tools for sound equipment source, such as my computer sound card settings: Realtek AC 97 Audio. The program will declare an object used for retrieval of equipment management information, each object iterates through the WMI instance, finally get to the sound card device name and PNPDeviceID.
The author, copyright, learning and reference purposes only.