add to github
This commit is contained in:
parent
b292b8f679
commit
390ff4d22d
@ -146,7 +146,7 @@ namespace WinPart {
|
|||||||
logicalDrives = new List<LogicalDrive>() { };
|
logicalDrives = new List<LogicalDrive>() { };
|
||||||
foreach (ManagementObject m in new ManagementObjectSearcher(string.Format("associators of {{{0}}} where AssocClass = Win32_LogicalDiskToPartition", MO.Path.RelativePath)).Get())
|
foreach (ManagementObject m in new ManagementObjectSearcher(string.Format("associators of {{{0}}} where AssocClass = Win32_LogicalDiskToPartition", MO.Path.RelativePath)).Get())
|
||||||
logicalDrives.Add(new LogicalDrive().getFromMO(m, program));
|
logicalDrives.Add(new LogicalDrive().getFromMO(m, program));
|
||||||
name = MO.ToString();
|
name = (string)MO.Properties["Type"].Value;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user