Esempio n. 1
0
        public void ExtractFile(string inputFile, string outputPath)
        {
            string extension = Path.GetExtension(inputFile);

            if (!string.IsNullOrEmpty(extension) && extension.StartsWith(".dat"))
            {
                DatFile.Extract(inputFile, outputPath);
            }
        }
Esempio n. 2
0
        public void ExtractFile(string inputFile, string outputPath)
        {
            var fileName  = Path.GetFileName(inputFile);
            var extension = Path.GetExtension(inputFile);

            if (extension.StartsWith(".dat"))
            {
                DatFile.Extract(inputFile, outputPath);
            }
        }