private static ScheduledJob[] GetInstances(string volume, string path) { List <ScheduledJob> jobList = new List <ScheduledJob>(); foreach (IndexEntry entry in IndexEntry.GetInstances(path)) { if (entry.Filename.Contains(".job")) { jobList.Add(ScheduledJob.Get(volume, (int)entry.RecordNumber)); } } return(jobList.ToArray()); }
public static ForensicTimeline[] GetInstances(ScheduledJob[] input) { List<ForensicTimeline> list = new List<ForensicTimeline>(); foreach (ScheduledJob s in input) { list.Add(Get(s)); } return list.ToArray(); }
public static ForensicTimeline Get(ScheduledJob input) { return new ForensicTimeline(input.StartTime, "MACB", "SCHEDULEDJOB", input.Author, input.ApplicationName, input.ToString()); }