private static NVMeInfo GetDeviceInfo(StorageInfo storageInfo) { var smart = new NVMeSmart(storageInfo); NVMeInfo info = smart.GetInfo(); return(info); }
private NVMeGeneric(StorageInfo storageInfo, NVMeInfo info, int index, ISettings settings) : base(storageInfo, info.Model, info.Revision, "nvme", index, settings) { Smart = new NVMeSmart(storageInfo); _info = info; CreateSensors(); }