/// <summary> /// Creates a new instance of Archiver. /// </summary> /// <param name="path">Path of the file or directory to compress</param> /// <param name="archivingtool">Archiving tool use</param> /// <param name="processwindowstyle">Command prompt window visibility upon compression</param> /// <param name="archivingmethod">Archiving method to use</param> public Archiver(string path, ArchivingToolEnum archivingtool, ProcessWindowStyle processwindowstyle, ArchivingMethodEnum archivingmethod) { _path = path; _archivingtool = archivingtool; _processwindowstyle = processwindowstyle; _archivingmethod = archivingmethod; _archivedpath = ""; }
/// <summary> /// Creates a new instance of Archiver. /// </summary> /// <param name="path">Path of the file or directory to compress</param> /// <param name="archivingtool">Archiving tool use</param> /// <param name="processwindowstyle">Command prompt window visibility upon compression</param> /// <param name="archivingmethod">Archiving method to use</param> public Archiver(string path, ArchivingToolEnum archivingtool, ProcessWindowStyle processwindowstyle, ArchivingMethodEnum archivingmethod) { _path = path; _archivingtool = archivingtool; _processwindowstyle = processwindowstyle; _archivingmethod = archivingmethod; _archivedpath = ""; }