title: strongly typed wmi getting subfolders
body: <p>I need to create a treeview of a remote filesystem. To do this I am using WMI and mgmtclassgen.exe</p>
  
  <p>using Win32_LogicalDisk I get my drive letters.</p>
  
  <p>Now when user wants to browse its subfolders I want to get the subfolders, i am able to get that using </p>
  
  <pre><code>ManagementObjectSearcher(@"root\CIMV2", @"Associators of {Win32_Directory.Name='e:\'} Where AssocClass =Win32_Subdirectory ResultRole = PartComponent")
  </code></pre>
  
  <p>but this is not strongly typed. How can i use the strongly typed classes of Win32_Directory and Win32_Subdirectory to get subfolders?</p>