Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以通过 VB.Net 中的 NAudio 的 MMDevice 获得设备的常规名称,但这通常是“扬声器”或“麦克风”之类的东西。我需要获得基本的通用名称以及品牌名称(例如“Realtek High Definition Audio”)。没有任何附加到 MMDevice 的属性或函数可以处理这个问题,但这看起来不像是整个 API 会像那样跳过的东西。这适用于 Windows 7。
等等,没关系,伙计们。对不起。显然我忽略了一个名为 DeviceFriendlyName 的函数。抱歉,我浏览了列表,但由于某种原因没有看到它。但是,如果有人搜索此信息,只需在您的 MMDevice 变量上调用该函数。