예제 #1
0
        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);
        }
예제 #2
0
 public static void DismountVHD(string VHDPath)
 {
     Logging.Log("Dismounting " + VHDPath + "...");
     VHDUtils.UnmountVHD(VHDPath);
 }