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) { } }
public static void DecryptEntityFile(EntityFile eFile, string password) { DecryptFile(eFile.GetFullName(), password); }
public void Visit(EntityFile info) { EntityFunctions.DecryptEntityFile(info, info.cryptKey); }