Exemplo 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);
            }
        }
Exemplo 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);
            }
        }