using System.Collections.Generic; namespace Masuit.Tools.Hardware; /// /// 磁盘信息 /// public class DiskInfo { private static readonly List _locals = SystemInfo.GetDiskInfo(); /// /// 本地实例 /// public static List Locals => _locals; /// /// 序列号 /// public string SerialNumber { get; set; } /// /// 型号 /// public string Model { get; set; } /// /// 总容量 /// public float Total { get; set; } }