title: How to dump the NTFS $Bitmap file
body: <p>For a project, I want to get the list of all free/used clusters on an NTFS partition.
  For this i have to dump the $Bitmap file and parse its contents.</p>
  
  <p>There are few API's and examples on the web, but however they don't seem to work. Is there a simple way/ code sample to just copy the $Bitmap file somewhere.</p>
  
  <p>Is using FSCTL_GET_VOLUME_BITMAP the only way? Ideally I would like to do it in C#.</p>