net C# 检测电脑盘U盘 移动盘 //ManagementClass c = new ManagementClass("Win32_DiskQuota"); //ManagementObject quota = c.CreateInstance(); //quota["Limit"] = 400000000; //quota["WarningLimit"] = 200000000; //// Get user account object