title: How do I correlate logical drives and physical disks in C#?
body: <p>I'm struggling to understand how to link the information of logical drives (C:, D:\ etc) is on which physical drive (HDD, SATA, NVMe etc).</p>
  <p>I'm able to pull the information separately using ManagementObject queries of both MSFT_PhysicalDisk and Win32_LogicalDisk classes but combining the two accurately is proven a real head scratcher.</p>
  <p>A quick google threw up that I needed to use Win32_DiskDriveToDiskPartition and Win32_LogicalDiskToPartition classes but reading them just made my head hurt more. Any help would be appreciated but I'm basically after a way to show both class information side by side accurately:</p>
  <p>ie:</p>
  <ul>
  <li>C:\ is an SSD</li>
  <li>D:\ is an NVMe</li>
  <li>E:\ is an HDD</li>
  </ul>
  <p>Cheers!</p>