bool RemoveContainer(Config cfg) { string containerName = cfg.ContainerName; Console.WriteLine("Removing container '{0}'...", containerName); if (String.IsNullOrEmpty(containerName)) { Failure(cfg, "Unspecified container name."); return(true); } try { KeyContainer.RemoveFromDisk(containerName, cfg.UseMachinePath); Console.WriteLine("Success."); } catch (Exception ex) { Failure(ex, cfg); return(true); } return(false); }