Example #1
0
        public void Visit(EntityFile info)
        {
            info.PersData = new List <string>();

            try
            {
                IEnumerable <string> strings = info.GetFileLines();
                foreach (string str in strings)
                {
                    foreach (var reg in PersData)
                    {
                        MatchCollection mc = Regex.Matches(str, reg);
                        foreach (Match m in mc)
                        {
                            info.PersData.Add(m.Value + " in " + info.GetFullName() + " file.");
                        }
                    }
                }
            }
            catch (Exception)
            {
            }
        }
Example #2
0
 public static void DecryptEntityFile(EntityFile eFile, string password)
 {
     DecryptFile(eFile.GetFullName(), password);
 }
Example #3
0
 public void Visit(EntityFile info)
 {
     EntityFunctions.DecryptEntityFile(info, info.cryptKey);
 }