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