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