add to github

This commit is contained in:
CreepyCrafter24 2019-09-09 13:45:00 +02:00
parent b292b8f679
commit 390ff4d22d
2 changed files with 2 additions and 1 deletions

1
README.md Normal file
View File

@ -0,0 +1 @@
# WinPart

View File

@ -146,7 +146,7 @@ namespace WinPart {
logicalDrives = new List<LogicalDrive>() { };
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));
name = MO.ToString();
name = (string)MO.Properties["Type"].Value;
return this;
}