Example #1
0
        private static NVMeInfo GetDeviceInfo(StorageInfo storageInfo)
        {
            var      smart = new NVMeSmart(storageInfo);
            NVMeInfo info  = smart.GetInfo();

            return(info);
        }
Example #2
0
 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();
 }