Example #1
0
 public void MountVirtualDisk(string path, bool assignDriveLetter, bool readOnly)
 {
     using (IImageManagementService managementService = ImageManagementService.GetImageManagementService(this._Host))
         managementService.AttachVirtualHardDisk(path, assignDriveLetter, readOnly);
 }
Example #2
0
 public void MountVirtualDisk(string path)
 {
     using (IImageManagementService managementService = ImageManagementService.GetImageManagementService(this._Host))
         managementService.AttachVirtualHardDisk(path, false, false);
 }