title: Set Drive VolumeLabel
body: <p>I am working on a small utility where I would like to change the volume label on flash drives that are connected to the computer. I know that DriveInfo is capable of doing it but I am at a loss as for how to accomplish it. If anyone has a code sample I would really appreciate it.<br>
  Here is what i currently have:</p>
  
  <pre><code>DriveInfo[] allDrives = DriveInfo.GetDrives();
  foreach (DriveInfo d in allDrives)
  {
      if (d.IsReady &amp;&amp; d.DriveType == DriveType.Removable)
      {
          //set volume label here
      }
  }
  </code></pre>