public static string MountVHD(string VHDPath, bool readOnly) { Logging.Log("Mounting " + VHDPath + (readOnly ? " as read only" : "") + "..."); var id = VHDUtils.MountVHD(VHDPath, readOnly); Logging.Log(id, Logging.LoggingLevel.Warning); return(id); }
public static void DismountVHD(string VHDPath) { Logging.Log("Dismounting " + VHDPath + "..."); VHDUtils.UnmountVHD(VHDPath); }