示例#1
0
        public void Extract(string inputFile, string outputDir)
        {
            PSArcXmlFile xml = new PSArcXmlFile(PSArcXmlFile.XmlFileType.Extract);

            xml.OutputFileName = outputDir;
            xml.AddPakToExtract(inputFile);
            Extract(xml);
        }
示例#2
0
        public void Extract(string inputFile, string outputDir, params string[] archiveFiles)
        {
            PSArcXmlFile xml = new PSArcXmlFile(PSArcXmlFile.XmlFileType.Extract | PSArcXmlFile.XmlFileType.ByFile);

            xml.OutputFileName = outputDir;
            xml.AddPakToExtract(inputFile);
            foreach (string s in archiveFiles)
            {
                xml.AddFileToExtract(s);
            }
            Extract(xml);
        }