/// <summary> /// Process the specified log entries and create a hash table of the resources touched /// </summary> /// <param name="log">a log entry</param> /// <returns>a two element array of hashtables; [0] contains the file resources, [1] contains the registry resources</returns> protected static Hashtable[] ProcessLog (String[][] log) { Hashtable[] retTable = new Hashtable[2]; RegistryHelper registryHelper = new RegistryHelper (); FileHelper fileHelper = new FileHelper (); for (int i = 0; i < log.Length; i++) { // TODO: handle exceptions registryHelper.AddEntry (log[i]); fileHelper.AddEntry (log[i]); } retTable[0] = fileHelper.GetEntryTable (); retTable[1] = registryHelper.GetEntryTable (); return retTable; }