public IPBatchFinder(string inputfile, string outputfile, CSVWork csvloader, ColumnsData coldata) { InputFile = inputfile; OutputFile = outputfile; AllTorData = false; SxPath = string.Empty; CSVLoader = csvloader; ColData = coldata; }
private void AnalyseTorData() { CSVLoader = new CSVWork(); CSVLoader.DataFormat = settings.Settings.DataFormat; CSVLoader.Divider = settings.Settings.FieldSeparator[0]; CSVLoader.Flag = settings.Settings.FlagColumn; CSVLoader.IPField = settings.Settings.IPColumn; CSVLoader.FalseValue = settings.Settings.FalseValue; CSVLoader.TrueValue = settings.Settings.TrueValue; CSVLoader.FileName = TorPath; CSVLoader.Loading += new CSVWork.OnLoading(CSVLoader_Loading); CSVLoader.OK += new CSVWork.OnOK(CSVLoader_OK); CSVLoader.CSVError += new CSVWork.OnCSVError(CSVLoader_CSVError); CSVLoader.Start(); }