title: Create virtual drive in C#
body: <p>I am searching for a code to create a virtual drive. I came across the DefineDosDevice API Function but I have one big Problem with that Function. I can t change the VolumeLabel of the created Drive.</p>
  
  <p><a href="https://stackoverflow.com/questions/3753758/creating-virtual-hard-drive">creating virtual hard Drive </a> here is one example. If you use SetVolumeName with that drive you get an error returned. </p>
  
  <p>May anyone has an idea how to do solve my problem?</p>