title: How to get list of files from recycle bin for the volume/disk that was mounted?
body: <p>Usually people get list of files inside the Recycle Bin using <code>Shell32.dll</code>.</p>
  
  <pre><code>private static IEnumerable&lt;string&gt; GetRecycleBinFilenames()
  {
      const int ssfBitbucket = 10;
      Type t = Type.GetTypeFromProgID("Shell.Application");
      dynamic shell = Activator.CreateInstance(t);
      Folder recycleBin = shell.NameSpace(ssfBitbucket);
  
      foreach (FolderItem2 recfile in recycleBin.Items())
      {
          yield return recfile.Path;
      }
  
      Marshal.FinalReleaseComObject(shell);
  }
  </code></pre>
  
  <p>I am mounting a VHDX file and want to get a list of files from the Recycle Bin on a mounted external disk/volume.  How can I do this?</p>