如何使用C#获取USB闪存(密钥)制造商名称?
例如WD,Hama,Kingston ......
现在我用:“disk [”Manufacturer“]”,获取:“标准磁盘驱动程序”
string drive = "h";
ManagementObject disk = new ManagementObject("Win32_LogicalDisk.DeviceID=\"" + drive + ":\"");
disk.Get();
Console.WriteLine(disk["VolumeSerialNumber"].ToString());
Console.WriteLine(disk["VolumeName"].ToString());
Console.WriteLine(disk["Manufacturer"].ToString());