Example #1
0
 /// <summary>
 /// Unmount a disk image from the virtual drive
 /// </summary>
 /// <returns>true on success, false on failure</returns>
 public bool Umount()
 {
     return(DT.Exec("-unmount " + _type + "," + _num) == 0);
 }
Example #2
0
 /// <summary>
 /// Mount a disk image in the virtual drive
 /// </summary>
 /// <param name="path">Path to the disk image</param>
 /// <returns>true on success, false on failure</returns>
 public bool Mount(string path)
 {
     return(DT.Exec("-mount " + _type + "," + _num + ",\"" + path + "\"") == 0);
 }