AA2Install.Archives._7z.Compress C# (CSharp) 메소드

Compress() 공개 정적인 메소드

Compresses a specified list of files into a 7z archive.
public static Compress ( string filename, string workingdir, string directory ) : void
filename string Location to save the 7Z file.
workingdir string Working directory of 7za.exe.
directory string Files to compress into the archive.
리턴 void
        public static void Compress(string filename, string workingdir, string directory)
        {
            Task t = new Task(() => SyncCompress(filename, workingdir, directory)); //I have no idea how async methods work

            t.SemiAsyncWait();
        }